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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -