"Please wait" message for large table

"Please wait" message for large table

beedrewbeedrew Posts: 9Questions: 0Answers: 0
edited June 2011 in General
Hello! I want to display a large paged table (about 15,000 rows) without using server-side processing, mainly because I have no clue how to make that work in PHP or any other server-side language. If someone wanted to do a "for dummies" tutorial on how to set up a mySQL/PHP implementation hooked up to DataTables, that would be way cool.

Meanwhile, I put my data into a Javascript array and configured deferred rendering, and it loads with acceptable speed in Chrome and Firefox, at least when the data is local. Remains to be seen what will happen over a Web server.

Of course, Internet Explorer is a pain. I found a registry fix on Microsoft's site that actually killed the "script running slow, continue" thing, BUT the user still has a long wait for the 15,000 rows to draw.

My thought was to include a at the top of the page with a "Please wait..." kind of message, and then use Javascript to style the DIV to Visibility:hidden once the DataTable appeared on the page.

However I can't figure out where to kick off the Javascript to do the "hidden" part. It always blinks off and THEN there's the long wait before the table draws.

Alternatively, is there a way to initialize a Datatable from a link or other control? I could put up text that explains the table and the slow loading under IE, then have the user click a button or link to see the table....?

I have the feeling this might be easy to do, I am just not thinking of it the right way. All suggestions appreciated!

Bee

Replies

  • beedrewbeedrew Posts: 9Questions: 0Answers: 0
    Never mind, figured it out myself using a different example.
This discussion has been closed.