Hi everyone, I use two grids at one PHP page. Is there any way to get data from the first grid (i.e. after click row) and pre-fill it into the add new row form in the second grid? thank you for any suggestion Petr
A:
I am not sure that I correct understand what you mean under the "pre-filling". But how I understand you question you can do following:
With respect of onSelectRow event which you define on the first grid you will receive the id of selected row as the parameter. Inside of the onSelectRow event handle you can call getRowData to get full information about the data of selected row. Then using addRowData for example you can add new row in the second grid.
Oleg
2010-08-24 08:52:48
A:
Hello, thank you for your answer, it is helpful for me.
I´m able to get the data and add it to the new row. But it is possible to add the data to edit form?
Regards Petr
PetrQ
2010-08-24 20:58:14