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?

Hope you can help me!

Christian

---
JSON-String i'm using:
»[{"pid":"1","rev":"0","type":"buch","ISBN":"3-446-22575-7","EAN":"9783446225756","Titel":"UML
2
Glasklar","Verlag":"Hanser","Jahr":"2004"},{"pid":"7","rev":"0","type":"buch","ISBN":"3-935042-92-2","EAN":"9783935042925","Titel":"AJAX","Verlag":"entwickler.press","Jahr":"2007"},{"pid":"9","rev":"0","type":"buch","ISBN":"3-935042-90-6","EAN":"978935042901","Titel":"Regul\u00e4re
Ausr\u00fccke","Verlag":"entwickler.press","Jahr":"2006"},{"pid":"10","rev":"0","type":"buch","ISBN":"0-596-00777-9","EAN":"9780596007775","Titel":"CSS
Pocket
Reference","Verlag":"O'Reilly","Jahr":"2004"},{"pid":"12","rev":"0","type":"buch","ISBN":"0-596-00133-9","EAN":"9780596001339","Titel":"XML
Pocket
Reference","Verlag":"O'Reilly","Jahr":"2001"},{"pid":"15","rev":"0","type":"buch","ISBN":"0-596-00446-X","EAN":"9780596004460","Titel":"MySQL
Pocket
Reference","Verlag":"O'Reilly","Jahr":"2003"},{"pid":"17","rev":"0","type":"buch","ISBN":"0-596-00402-8","EAN":"9780596004026","Titel":"PHP
Pocket
Reference","Verlag":"O'Reilly","Jahr":"2002"},{"pid":"19","rev":"0","type":"buch","ISBN":"3-89721-263-3","EAN":"9783897212633","Titel":"UML
kurz &
gut","Verlag":"O'Reilly","Jahr":"2004"},{"pid":"21","rev":"0","type":"buch","ISBN":"3-446-40334-5","EAN":"9783446403345","Titel":"PHP5
- Grundlagen und Profiwissen","Verlag":"Hanser","Jahr":"2005"}]«
-- 
View this message in context: 
http://www.nabble.com/User-definded-IDs-for-TableRows--%28in-v0.6.6%29-tf3851886.html#a10911566
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to