Editing Grid in a Form

Hello All,

I’m pretty new to this so bare with me.

I’ve built a form which posts to my database, which the Grid reads and outputs. That part works fine, what I want to do is create an edit button where the user would select a row, click edit, and then be brought back to the form. The form would be populated with the row’s information, allowing the user to change it and then re-post it. How do get the info from the row to select and paste itself into the form?

I’ve read about using grid.attachEvent(“onRowSelect”,) How do i use this to send the row info to say form.php?

Another topic states:
i suppose you must use onRowSelect Event docs.dhtmlx.com/doku.php?id=dhtm … nrowselect and then send id to datastore in url as file.php?id=your_id_value to load datas from this datastore into your container. But i be in wrang because i’m new in dthtmlx too.

Can someone please provide a code sample for me?

Thanks everyone.

Try to follow this tutorial docs.dhtmlx.com/doku.php?id=tuto … htmlxstart
This will help you understand who you can pass grid values the form.

Hey thanks for the tutorial, it looks like it will give me a way better understanding of this suite.