hi all,
I have a content which is fetched from a JSON response. I am putting that in a dynamic table and showing the data. The problem with this approach is, I am adding row by row and finally appending that to a table, so if result set is large then browser struggles a lot to display and takes some time to display whole result in one shot. Instead of this if we can display the table as a growing table with rows displayed as and when rows become available.
I am using IE 6 and asynchronous request.
any ideas? Please help
waiting for your reply,
Xoinki
I have a content which is fetched from a JSON response. I am putting that in a dynamic table and showing the data. The problem with this approach is, I am adding row by row and finally appending that to a table, so if result set is large then browser struggles a lot to display and takes some time to display whole result in one shot. Instead of this if we can display the table as a growing table with rows displayed as and when rows become available.
Code:
http = new yXMLHttpRequest();
http.onreadystatechange = function()
{
if(http.readyState == 4 && http.status == 20)
{
// Table populated here
}
} // Table is not displayed until control comes out of here..
.
.
.
http.send()
any ideas? Please help
waiting for your reply,
Xoinki
Comment