ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: nklapper on May 24, 2016, 10:37:57 pm

Title: column > dataType
Post by: nklapper on May 24, 2016, 10:37:57 pm
What are all the options for column > dataType  ?

I could not find a list in the API documentation.

Is datetime supported?  If not, what is the best workaround?
Title: Re: column > dataType
Post by: paramvir on May 25, 2016, 05:01:19 pm
All possible value of datatypes are mentioned in the API: http://paramquery.com/pro/api#option-column-dataType

string, stringi, integer, float and date

Both date and datetime fields are supported, they have common dataType = 'date'

Since pqGrid depends upon jQueryUI for date formatting, time formatting is not supported.

For time formatting, you could do it yourself or include some other library.

---Edit--

The bool dataType was missing from the doc. It's been updated.