ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Jignesh on January 17, 2020, 03:54:30 pm
-
Hi Paramvir,
Below are requirement for dropdwon in Grid:
1) When click on cell then ajax call and bind base on response.
2) second row bind on base on First row value.
I have attached screenshot for same.
Thank you,
Jignesh
-
Please check ShipCountry column in this demo for dynamic dropdown based on ajax response:
https://paramquery.com/pro/demos/editing_custom
Previous row data can be obtained by getRowData() method
var rd1 = grid.getRowData({rowIndx: ui.rowIndx - 1 })
https://paramquery.com/pro/api#method-getRowData