Is it possible for the grid output a blank cell for columns that don't have data for a few records? For example i have the following json -
[{id:4123, name:'ted', city:'chicago'},
{id:4126, name:'bob', city:'manchester'},
{id:4123, name:'ted'}
I would like the grid to produce three rows in this case and the city column of the third row should output a blank cell. Is this possible?
Hello adil sulaiman,
Thank you for posting in our forums!
It is possible to achieve this with the igGrid. The igGrid will interpret any missing data as null and display an empty cell. You can see a jsfiddle that demonstrates this here.
If you have any further questions or concerns with this, please let me know and I will be glad to help.
Is this valid for a remote datasource? I dont have a json array datasource its a url. When i try to do the same with a remote datasource it hits me with the following error:
Uncaught Error: There was an error parsing the JSON data and applying the defined data schema: The input data doesn't match the schema, the following field couldn't be mapped: