ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: hyh888 on March 17, 2024, 05:16:08 pm

Title: When Array data are used as data source, how to control column attribut as json?
Post by: hyh888 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.
Title: Re: When Array data are used as data source, how to control column attribut as json?
Post by: paramvir 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.
Title: Re: When Array data are used as data source, how to control column attribut as json?
Post by: hyh888 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?