Hi Nathan, dunno if this fits your needs, but qx.core.Object's setUserData() is a method that gets inherited to any object, qx.ui.table.Table too.
You could certainly attach any kind of data to your table like that; a customized object with its properties organized according to row data might be the clue storing your id outside the table model. That's not exactly what you asked for, as data wouldn't be attached to the row itself, but to me looks like a workaround. Apart from that, I don't know of a means to save row data without using an own column. Maybe this idea helps you, Regards Stefan Nathan Hadley wrote: > I am using a table widget with a Simple model to display a list of > records in a database. My question is, is it possible to attach other > data (e.g. a unique id) to each row without having a column for it and > then hiding it? > > I need to be able to reference the unique id when calling server-side > functions but don’t want it shown to the user and I am concerned that > having lots of hidden columns would give an unnecessary performance hit. > > I have searched the forum but haven’t found anything about this issue. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
