PDA

View Full Version : Get Field Name Within Custom Renderer



GregT
29 Jan 2010, 7:24 AM
There must be a way to get the name of the field (column) that you are dealing with from within a column renderer. However, I have tried fiddling around with record.fields, record.data, record.prototype, store, getAt, get, [], rowIndex, colIndex, all to no avail.

I have been away from Ext for a couple of weeks and I think I lost what little Ext powers I had. Any advice appreciated; cheers!

mitchellsimoens
29 Jan 2010, 9:51 AM
If you are looking for individual records in relation to the columns.... technically record.data is the object holding the info for that one record. The object structure will be the same but the values will not be of course.