bProcessing not displaying any message

bProcessing not displaying any message

ben_rothben_roth Posts: 3Questions: 0Answers: 0
edited September 2013 in DataTables 1.9
I'm trying to use the bProcessing flag to display a "loading" message when my table is loading data. There is a very large amount of data, so when unfiltered the table can take several seconds to load and it's not clear to the users that anything is happening. However, when I set 'bProcessing': true nothing seems to change. At this point I'm just trying to get the built-in message to display, but it doesn't seem to be working. What needs to be done besides setting the bProcessing flag?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Please link to a test case showing the issue.

    Allan
  • ben_rothben_roth Posts: 3Questions: 0Answers: 0
    Unfortunately the site is internal so I can't link to the page.

    After some further testing I've learned that enabling the bProcessing flag actually prevents the table from populating. When I comment out that line there is no issue loading data, but it might take a few seconds and there's no indication that it's processing. However, when I enable the flag the table never populates at all. Not only is there no message, but there's no data.
  • ben_rothben_roth Posts: 3Questions: 0Answers: 0
    I've found the problem, it was actually quite simple. I forgot to add the "r" to the sDom string, so there was nothing to tell the processing message where to go. Oops.
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Heh - easy done :-). Good to hear you've got it working now!

    Allan
This discussion has been closed.