gridview - Devexpress AspxGridView Hide SelectCheckbox programatically? -
just quick one
i have devexpress gridview selectcheckbox column turned on, , operations based on work fine. want hide checkbox row conditionally based on column value in grid.
is possible selectcheckbox in command column, or have create template in column , bit of work-around? either way, how?
you can achieve in grid rowdatbound event have work around ..here give demo code..
foreach (gridviewdatacolumn c in gridview.columns) { checkbox chk=grid.findeditrowcelltemplatecontrol(grid.columns("name_colum"), "namecheckbox") if(your condition) {chk.visble=false;} }
Comments
Post a Comment