All Downloads are FREE. Search and download functionalities are using the official Maven repository.

static.scripts.itemSelect.js Maven / Gradle / Ivy

There is a newer version: 0.41.3
Show newest version
/**为视图中的选择增加选中效果**/
 var selectedFontColor="blue";
 var selectedFontStyle="italic";
 var selectedFontBackgroundColor="#e9f2f8";
 
 function setSelectedRow(table,ele){
     var rows = table.tBodies[0].rows;
     if (rows.length <= 1) {
     	rows = table.rows;
     }
     // 确定选中的是第几列
     var index=getSelectedIndex(ele); 
     //alert(index)
     //alert(ele==rows[i].cells[3]);
     for(var i=1;i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy