ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: shoushouleb on August 15, 2018, 03:06:04 pm

Title: Get the parent row of a child row
Post by: shoushouleb on August 15, 2018, 03:06:04 pm
Hello,

If I have the rowIndx of a row inside a detail grid, how can I get its parent row in the main grid?

See the image please:
the row with the data {1,test} has the parent row with ID CLN00742. How I can get this row?
Title: Re: Get the parent row of a child row
Post by: paramvir on August 23, 2018, 11:31:44 am
Parent row can be obtained as rowData parameter passed to gridDetailModel function as in this example:

https://paramquery.com/demos/detail