Hello,
Is there a native alternative for populate a StringGrid with JSON? Eg. 'Grid.LoadFromJSON(const AFileName: TFileName);'
Thx.
ps. Web solution: http://extjs.org.cn/extjs/examples/grid/json-grid.html

Mailing lists / lazarus / 2011-10
5 messages · 2 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hello,
Is there a native alternative for populate a StringGrid with JSON? Eg. 'Grid.LoadFromJSON(const AFileName: TFileName);'
Thx.
ps. Web solution: http://extjs.org.cn/extjs/examples/grid/json-grid.html
I implemented a JSON list view / tree view / inspector using VTV
See
http://code.google.com/p/luipack/source/browse/trunk/vtvextras/vtvutils/vtjson.pas
There are some demos in demos folder
Luiz
2011/10/12 Luiz Americo Pereira Camara :
I saw your implementation, very good!
The StringGrid not have the flexibility that the VTV. :/
I think that I can count with your help to implement a code to populate a JSON data in a StringGrid.
Sorry for my english.
OK. It's not hard
Sorry for my english.
No problem. You can talk to me in private with our native language
Luiz
2011/10/12 Luiz Americo Pereira Camara :
Thank you Luiz?o. :) I'll send my initial implementation to you in pvt, explaining the problem in brazilian language. ;)
After resolving the problem, I'll post the final implementation to the guys here in the thread.