disabled control - Disable a row in jQGrid -
i want disable 1 row on grid depending on value of global javascript variable. example, lets value of variable 123. row has 123 in column called "xyz" should disabled.
where best way implement such functionality ? inside loadcomplete or beforeselectrow ?
thanks
the best way inline editing mode adding not-editable-row
class row. can use rowattr
add class based on content of column. see the answer details.
if use form editing have choose way. use navgrid
can disable editing or hide buttons based on value in column of selected row. see the answer , this one more details. beforeselectrow
place such changes.
Comments
Post a Comment