ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Dynamic Bind data in dropdown by ajax call
« previous
next »
Print
Pages: [
1
]
Author
Topic: Dynamic Bind data in dropdown by ajax call (Read 1729 times)
Jignesh
Pro Enterprise
Newbie
Posts: 46
Dynamic Bind data in dropdown by ajax call
«
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
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Dynamic Bind data in dropdown by ajax call
«
Reply #1 on:
January 17, 2020, 04:15:15 pm »
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
Code:
[Select]
var rd1 = grid.getRowData({rowIndx: ui.rowIndx - 1 })
https://paramquery.com/pro/api#method-getRowData
«
Last Edit: January 17, 2020, 04:21:39 pm by paramvir
»
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Dynamic Bind data in dropdown by ajax call