Hi Christian, C.Bieser wrote: > Hello, > > I'm getting the data for my Table via AJAX/Json. Within the data, I have an > ID-Field called "pid". Pid is not from 0 to n, it is "1", "4", "5", "8", > "20" and so on. > > I need the Pid for the rows and i don't want to hide a column. > > Is it possible > a) to set UserData > or > b) to set the RowID > with the "pid" while inserting data with "setDataAsMapArray" or is there an > other way?
You can hide the PID very easily. Assuming you are using the SimpleTableModel to store your data, then you can store values in columns which are beyond the column count set up in the Table itself. Similarly for models which use hashes, such as the RemoteTableModel, you can store values with keys that the table isn't aware of. Nick ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
