View Full Version : dynamic variables and one more problem

14 Oct 2010, 3:04 AM
Good day

so i have i dynamic grid... i can add cols by click on a button ...

that was not the problem.

but i want read out one col by selection.

var recordType = ds.recordType;
var fields = recordType.prototype.fields;

for (var i = 0; i < fields.keys.length; i++)
var fieldName = fields.keys[i];
var field = recordType.getField(fieldName);
var field_name=field.name; // HERE ARE THE NAMES OF DATA INDEX in it
/* in rec.data is my data of the clicks row but
rec.data.field_name show me the dataindex "field_name"



have someone an idea ?

thanks for help
greets Kenny