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

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -