Is there a way to get all fields into datasource from the response body?
I have a single grid bound to a datasource that retrieves different number and name of fields from URL depending on criteria. If I explicitly create fields array in datasource like
grid gets populated with fields corrrectly but if I remove
from the above - grid is always empty. Is there a way to tell datasource to get all field names from the response?
Thanks
I have a single grid bound to a datasource that retrieves different number and name of fields from URL depending on criteria. If I explicitly create fields array in datasource like
Code:
isc.DataSource.create({ ID: "singlegrid", dataURL:"modules/allgrid.xql?CLASS=FTM", fields:[{name: "distName"},{name:"softwareReleaseVersion"},{name:"systemTitle"} ], recordXPath:"//record" });
Code:
fields:[{name: "distName"},{name:"softwareReleaseVersion"},{name:"systemTitle"} ],
Thanks
Comment