Home › Forums › Guriddo jqGrid JS › Help › Disable Select Checkbox for a specific row
Hi Guys,
I have enabled the select option by using Multiselect:true, is it possible to disable the select (checkbox) in specific rows based on some criteria?
Any help appreciated.
Thanks
Hello,
If you know the id of the row you can do:
$(“#rowid”+ ” #jqg_”+rowid, '#mygrid').attr(“readonly”,true);
or remove it
$(“#rowid”+ ” #jqg_”+rowid, '#mygrid').remove();
Regards
Tony
Hi Tony
Hi Tony,
I wrote following code and it worked.
$(“#jqg_”+id, “#Subscriber_Grid”).attr(“disabled”,true);
Saran
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS