Its not a problem I have... just want to know how to do something (I dont need code), just some information. Tried already something but I dont get it
What I did so far and works great is
1. DB = 2 tables (table1.ID = table2.tID)
2. I do a left outer join where table1.ID = table2.tID (php, json creation is ok)
3. Grid + rowexpander = ok, with 3 tbar.buttons : add (form), del, add reply (form) = ok
('add reply' gets ID from selected row and puts a reply in table 2)
Question is now:
How to put the replies (from table2) in the corresponding expander (table1.ID = table2.tID).
Do I need the index of grid.row then a search in Json where grid.row.index = table2.tID (looping to get all results)?
See picture ( expander.replies is now a string created in php, but in the future I want to make it posible to delete the replies in the expander (so using 1 big string with all replies in it is not a sollution)