Hello Angel,
in my webdatagrid on page load how to set particular rows read only and based on dropdown values how to set that read only rows false.
i am trying to do this in cell entering edit mode client side event but it sets all rows read only.
please tell me how to do..
Thanks
Reshma
hey Reshma,
could you show me how you're trying to do that right now ?
the following forum post could be useful for you:
http://es.infragistics.com/community/forums/t/59560.aspx
Angel
hey Angel,
if (sender.get_rows().get_row(rowIdx).get_cellByColumnKey("colservice").get_value() == "2")
{
eventArgs.set_cancel(true)
}
by this way i am setting rows read only but it by this all rows are read only
Hi Reshma,
Maybe all values are "2", for the colservice column? Could you show me some example data in your grid.
Thanks,
Hi Angel,
Ok.
hi Reshma,
Ok, great. do not hesitate to contact us in case you have any other questions.
this solves my issue in case of new mode.
Are you saying this solves your scenario ? Thanks
hi Angel,
I tried ur code but it sets all rows read only by this.
Then i tried something like this on Cell_EnteringEditMode client event
if (sender.get_rows().get_row(rowIdx).get_cellByColumnKey("colservice").get_value() == "2") { sender._editorProviders._items[6]._input.disabled = false; sender._editorProviders._items[7]._input.disabled = false; sender._editorProviders._items[8]._input.disabled = false; sender._editorProviders._items[9]._input.disabled = false; }