Hello,
Can you provide me with the way how am I able to make a specific column in the WebHierarchicalDataGrid editable from the code side? Knowing that I am using visual basic in my web forms application.
Is there another way to make it from visual basic code instead if JavaScript?
Also, the below behavior that you added in the aspx we added it as per your solution from the visual basic code, so we add the CellEditingClientEvents in the visual basic side?
<Behaviors> <ig:EditingCore> <Behaviors> <ig:CellEditing CellEditingClientEvents-EnteringEditMode="enteringEdit"> <ColumnSettings></ColumnSettings> </ig:CellEditing> </Behaviors> </ig:EditingCore> </Behaviors>
In order to be able to handle some action in code behind this action should cause a postback which would refresh the grid. However, there isn't a postback on editing because this will automatically exit edit mode. Having this in mind, what I could say is that the cell editing events could be handled and canceled only on client-side.
Let me know if I may be of any further assistance.
Sincerely,Teodosia HristodorovaSoftware Developer
Thank you, That's work!I have another question please, when I change some of the cells I need to press a button to save the changes, but I am not able to get the changes, I still got the old values before the changes done in the grid.
Please note that according to our policy we handle a single issue per case, and since the initial theme is regarding conditionally setting columns as read-only or editable, my suggestion is to create another thread with your new question about saving the changes. This is for better consistency and history tracking.If you require any further assistance on the matter, please let me know.Sincerely,Teodosia HristodorovaSoftware Developer