Programmatically assigning Dojo DataGrid onStyleRow function


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. dojo.connect(grid,"onStyleRow",function(row){
  2. if (row.over) {
  3. row.customStyles+='background-color:#FFFF00;';
  4. }
  5. });

URL: http://feedstitch.com/mappingforeveryone/mapping-for-everyone/9

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.