This question is locked. New answers and comments are not allowed.
Hello there,
I was just wondering if there's a way to prevent the user from editing the grid when GridEditMode.InCell is used. Basically I have a boolean flag to indicate whether the user has the permission to edit the grid. If the flag is false I want to disable editing on the grid. I have no problems hiding the Submit Changes and Cancel buttons but I want to be able to prevent the cells from going into the edit mode when the user clicks on them. I've tried setting ReadOnly(expression) on each of the columns but it seems to be ignored for the InCell mode. Any ideas?
Thanks,
Ben
I was just wondering if there's a way to prevent the user from editing the grid when GridEditMode.InCell is used. Basically I have a boolean flag to indicate whether the user has the permission to edit the grid. If the flag is false I want to disable editing on the grid. I have no problems hiding the Submit Changes and Cancel buttons but I want to be able to prevent the cells from going into the edit mode when the user clicks on them. I've tried setting ReadOnly(expression) on each of the columns but it seems to be ignored for the InCell mode. Any ideas?
Thanks,
Ben