下載
重新開發
元素定義如下:
field: [], /*字段列表*/
loadData: [], /*JSON數據*/
RowClick: null, /*行點擊事件*/
autoRowClickStyle: false, /*是否開啓行點擊時顏色變化 如果RowClick爲null 則此處設置無效*/
autoAlternationRowStyle: false, /*是否開始交替色*/
autoActiveRowStyle: false, /*是否開啓鼠標移到行上顏色*/
evenRowClass: "evenRow", /*交替色 第二行開始*/
oddRowClass: "oddRow", /*交替色 第一行開始*/
activeRowClass: "activeRow", /*鼠標移上去的樣式*/
checkRowClass: "tdCheckRow", /*鼠標點中行顏色*/
tableClass: "", /*表格樣式*/
isShowEmptyInfo: true, /* true 顯示 空數據內容,false則不顯示,如果沒有數據則只有列頭*/
emptyDataText: "無數據"/*無數據情況下顯示的內容*/
重新取數據$("#table1").BindData(jsonData);