摘要: what is websocketsTwo-way communication over ont TCP socket, a type of PUSH technology HTML5的新特性,用于双向推送消息(例如网页聊天,手机推送消息等) 原理:client利用regular http请求w... 阅读全文
posted @ 2014-05-19 17:35 wishyouhappy 阅读(5633) 评论(0) 推荐(1) 编辑
摘要: 采用formatterYAHOO.widget.DataTable.Formatter.changeLight=function(elCell, oRecord, oColumn, oData){ elCell.innerHTML = "";};{key:"ONLINESTATUS", l... 阅读全文
posted @ 2014-05-19 14:22 wishyouhappy 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 使用render可以重新渲染datatable,之前添加的样式等信息也想相应会初始化,另外行定位等也会失效使用updateRows方法不会删除样式等信息更新datasource中_oData数据var records = myTable.getRecordSet().getRecords();var... 阅读全文
posted @ 2014-05-19 13:52 wishyouhappy 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 相关函数getRecord :YAHOO.widget.Record getRecord ( row )For the given identifier, returns the associated Record instance.传入RecordSet position Index或者Recod... 阅读全文
posted @ 2014-05-19 10:31 wishyouhappy 阅读(350) 评论(0) 推荐(0) 编辑