Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1255
Enter multiple lines into cell
posted

Hi, we have a WebHierarchicalDataGrid with some editable columns, but we need to allow multiple line editing in the cell,  how to make ENTER key create a new line of text instead of finish editing  ?  I know UltraTextEditor can do that, but not sure how to connect it to WebHierarchicalDataGrid.....

 


 

Parents
No Data
Reply
  • 7499
    posted

    Hello Ilovela,

    You can use TextEditorProvider to achieve multiline editing support.  Below is the markup:

        <EditorProviders>

      <ig:TextEditorProvider ID="Wdg_TextEditorProvider1"

           EditorControl-TextMode="MultiLine">

     </ig:TextEditorProvider>

       </EditorProviders>

    To know more about how to use editor provider, please refer to the following link

    http://help.infragistics.com/NetAdvantage/ASPNET/Current/CLR4.0/?page=WebDataGrid_Using_Editor_Providers_for_the_Filter_Box_in_WebDataGrid.html

    Using above the user will be able to edit  a cell and when the text of the cell reaches the end  automatically the cursor is pushed to the next line and it is not needed the user to press enter. But if you want to do that on enter press or you want to implement custom logic and so on you can use provided by the grid client - side event handlers.

    Please let me know if you have any further questions regarding this matter.

Children