Paste tab-delimited text into the grid.
parseField(obj, field)

obj | object, Java Script object
field | string, field to parse

Returns value (can be any JS type).

#### Description

It is quite often that the records array contains objects with complex structure. For example a record object can be: record = { "recid" : 1, "person": { "fname" : "John", "lname" : "Doe", "dob" : "1/1/1990" }, "car": { "make" : "Tesla", "model" : "Couster", "year" : "2013" } } However, when you define .columns or .searches for the grid, you need to define field as a string. The grid will internally call .parseField method to parse data structure and resolve the field value.
This method can be used to parse any object that you supply, not necessarily the record object. For the example above, you can parse fields in the following way (assuming there is grid with name grid): var val = w2ui.grid.parseField(record, 'person.lname'); // or var val = w2ui.grid.parseField(records, 'car.make');