We Recommend

Pro JavaScript Techniques Pro JavaScript Techniques
Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, like basic syntax and structures.


Posted By

omixen on 04/24/08


Tagged

disable flexigrid selectable


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

korzhik


Disable Selectable in Flexigrid


Published in: JavaScript 


  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 

You need to login to post a comment.