Disable Selectable in Flexigrid


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



Copy this code and paste it in your HTML
  1. ......
  2. addRowProp: function()
  3. {
  4. $('tbody tr',g.bDiv).each
  5. (
  6. function ()
  7. {
  8. $(this).click(
  9. function (e)
  10. {
  11. var obj = (e.target || e.srcElement); if (obj.href || obj.type) return true;
  12. //disable this line below
  13. //$(this).toggleClass('trSelected');
  14. }
  15. ;
  16. ......

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.