Hi, I have some editable cells on my WebHierarchicalDataGrid. I have two questions about editing :
1. If the user has long input and want to move to new line. How to do that ? I tried hitting return key, Alt+return key, or shift +return key, all of them will commit the change and leave focus
2. How to set the maximum length of the text that user can type ?
Thank you!
Hello ilovela,
It has been a while since you have made your post, but I suppose the other community members can benefit from this answer as well.
The answer to your two questions is to use “WebTextEditor” control as grid editor provider – “TextEditorProvider”.
“WebTextEditor” control supports multiline editing and text length restriction - http://samples.infragistics.com/aspnet/Samples/WebEditors/EditingAndSelection/TextEditorMultiline/Default.aspx?cn=editors&sid=a1b9d3ad-6979-4e9f-9456-4cc2da23d485
Guide on how to use editors in the grid is shown here - http://help.infragistics.com/Help/NetAdvantage/ASPNET/2010.3/CLR4.0/html/WebHierarchicalDataGrid_Using_Editor_Providers.html
I hope that this information will be helpful in your scenario.