Boolean column(Check box) cell in Infragistics UltraGrid should be disabled based on a condition in InitializeRow event -


in infragistics ultra grid have disable boolean (check box) cell based on condition in initialize row event

ps: don't want entire column disabled. cell should disabled (cell contains check box should disabled).

i kept code below

e.row.activation = activation.noedit

this code disabling cells in ultra grid row. boolean checkbox present in cell not getting disabled.

try like:

private void ultragrid1_initializerow(object sender, infragistics.win.ultrawingrid.initializeroweventargs e) { // deactivate boolean in cell 0         //ultragrid1.displaylayout.bands[0].columns[0].cellactivation =          //         infragistics.win.ultrawingrid.activation.disabled;          e.row.cells[0].activation = infragistics.win.ultrawingrid.activation.disabled; } 

other choices available beside disabled are: activateonly, allowedit, , noedit

you can come , activate it.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -