When someone defines the root and the record with jqxGrid to search an xml file, are there any parameters to define the child level for the specific map?
for example an xml:
<students> <student> <Name>name1</Name> <Age/> <student> <Name>name1.1</Name> <Age>age1.1</Age> </student> </student> </students>
now setting the source as:
var source = { datatype="xml, datafields:[ {name:"Name" , map:"Name" , type="string"}, {name:"Age" , map:"Age" , type="string"} ], root:"students", record:"student", url: //link to the xml };
and creating the grid after at the age field there is the age of the child student and not the parent student. So my assumption is that jquery search overpass a <tag>
as if it has no data.
Is there a way to define NOT to do this arbitary search and just display "No Data" or an empty cell?
No comments:
Post a Comment