11599Re: First record in a Recordset
- Mar 30, 2007Hi Ted,
Sorry i'm new in yui, so I can't understand, could you explain this
How do i use it in my exmaple:
var id = myDataTable._oRecordSet.getRecord(0).id
This way it doesn't work.
> This is a known issue that's been fixed for the next release.
> In the meantime, you can do this instead:
> var id = this._oRecordSet.id;
> HTH, Ted.
> > Hi, I'm trying to get the first record of datasource, here is the
> > var id = myDataTable.getRecordSet().getRecord(0)["column1"];
> > but i can't get it but only the first record, (index 0), if i get
> > other record the 1,2, .... it works, for example:
> > var id = myDataTable.getRecordSet().getRecord(1)["column1"];
> > So i can't get the information of the first row, can you help me
- << Previous post in topic Next post in topic >>