Hi! I’m testing your suite of widgets (open-source licence), but I got some problems with the grid. This is how I init.ed the widget:
var grid_source = {
datatype: “json”,
datafields: [
{name: ‘id’},
{name: ‘identity’, type: ‘string’},
{name: ‘year’, type: ‘number’}],
id: ‘id’, url: ‘rest/identities’ };
var gridAdapter = new $.jqx.dataAdapter(grid_source);
then $(‘#grid’).jqxGrid({ source: gridAdapter, … });
However if the field ‘year’ is null, the value is converted in an empty string by your Adapter – I think (that is in the data-row I find ”, instead of null). How to avoid that? Otherwise I’m not able to use the filters on the grid when I set the condition to ‘equal to null’.
Thanks in advance for any advice.