5 Replies Latest reply on Oct 14, 2011 11:01 PM by alex-86

    textarea itemrender in datagrid

    alex-86

      Hello, i want to have a textarea as an itemrender in a datagrid and be able to edit it and when click the enter key creates a new line.

       

      I have used editorUsesEnterKey="true" so that the focus doesnt go out of the cell, but it doesnt do anything it just stays on the same line.

       

      The other thing that i can think about is to add 2 event listeners in the datagrid, one for a KeyboardEvent and another for DataGridEvent to check if enter is clicked and check in what column they are writing on.

       

      but i dont know how can achieve that, or how can i get the column row without having an DataGridEvent.

       

      Any tips or how can i do that?

       

      Thanks.