2 Replies Latest reply on Aug 16, 2010 12:50 PM by VRPDeveloper

    Datagrid Edit row Button

      Hi All,
      I have a datagrid and we want to add a button on each row which would make the entire row editable on click. I looked at maybe toggling the rows editable value, but I am not sure how to accomplish this.
      Anyone have any ideas or examples?

      Thank-you in advance.
        • 1. Re: Datagrid Edit row Button
          ajdove Level 1

          Have you found any solutions to your question? I am interested in the same answer.



          • 2. Re: Datagrid Edit row Button
            VRPDeveloper Level 3

            You can achieve this in following way


            say the dataprovider of datagrid is something like this


            dp:ArrayCollection= [{id:1,state:NJ,val:5},{{id:2,state:NH,val:6}]


            where id is the rowid ... then onclick of the button you can fetch this rowid and get the data and also make it editable.


            Hope you got my point


            Let me know if you have any questions


            If this post answers your question or helps, please kindly mark it as such.