| Page 2 of 2 | [ 15 posts ] | Go to page Previous1, 2 |
Alberto SantiniYUI Contributor
|
Hello Liam.
datatableSource.responseSchema = { resultsList: "userInfo", fields: ["name","age","level","experience","subtotal"] }; Hope that helps, IceBox |
|
Actually you had it right the first time Liam. Look at your column key names, they have first letter uppercase! That won't match with the schema keynames which are all lowercase. Change the column keyname first character to lowercase and it will work.
Alberto, I think .resultsList only works with TYPE_JSON if I am not mistaken Todd |
|
d'oh, thanks guys
|
Alberto SantiniYUI Contributor
|
Tom,
you are right. I misunderstood JSON string in variable name. Liam, key field in the schema should match with the field in the data, as Tom said. Maybe you can consider "label" property to define the name of the column. Regards, IceBox |
|
label is what I was looking for, thanks.
|
| Page 2 of 2 | [ 15 posts ] | Go to page Previous1, 2 |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group