Discuss anything related to web development but no technical support questions

Post by gregc »

I see you have a grid defined as html and parsed out, like Dojo.

Does it make sense to have a grid defined as JSON that could do something like
grid = new Grid(json);

I guess its the advanced functionality with functions and the like where you would run into limitations but I could see how it could be more convenient for the server to generate json for simple tables.

Post by mats »

Sure, you can generate a grid however you want. Simple scenarios can for sure be described as pure JSON as you discovered.

Tired of debugging javascript errors in web applications? Try our powerful error logging service RootCause

Post Reply