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
»
ParamQuery Pro Evaluation Support
»
When Array data are used as data source, how to control column attribut as json?
« previous
next »
Print
Pages: [
1
]
Author
Topic: When Array data are used as data source, how to control column attribut as json? (Read 446 times)
hyh888
Pro Enterprise
Full Member
Posts: 142
When Array data are used as data source, how to control column attribut as json?
«
on:
March 17, 2024, 05:16:08 pm »
When Array data are used as data source, how to control column attribut as json-data's? Such as width,default value,editor type of the column.
Logged
paramvir
Administrator
Hero Member
Posts: 6309
Re: When Array data are used as data source, how to control column attribut as json?
«
Reply #1 on:
March 20, 2024, 07:06:57 pm »
It's done in similar way as object data, difference being that the numbers ( initial index of the column in colModel ) are used as dataIndx in case of array data.
«
Last Edit: March 20, 2024, 07:09:48 pm by paramvir
»
Logged
hyh888
Pro Enterprise
Full Member
Posts: 142
Re: When Array data are used as data source, how to control column attribut as json?
«
Reply #2 on:
March 28, 2024, 01:03:43 pm »
Dear Team,
Do you mean that the first column(datatype is number) in array data will be treated as index(or ID ) of every line?
If the string column is the index of data, how to make it?
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
ParamQuery Pro Evaluation Support
»
When Array data are used as data source, how to control column attribut as json?