Custom processing

Custom processing

TheGuestTheGuest Posts: 5Questions: 0Answers: 0
edited July 2010 in General
The current processing bar is fairly ugly in my opinion and I would like to pimp this a bit. The problem I have there is that I can't do it in CSS. I want to have a overlay over the data table and centered in the table I want an image showing a simple loading indicator.

Could someone point me in the direction of how I would go about doing this?

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    It is fairly ugly, but it's there to be customised :-). Why can't you use CSS? Setting the container to position:relative and the processing indicator to position:absolute, it should be fairly easy to put it over the table. Indeed to some extent this is already done - it just needs a bit of customisation - which I would always encourage.

    Allan
  • TheGuestTheGuest Posts: 5Questions: 0Answers: 0
    The overlay is no problem, but I still don't see how I can replace the "Processing..." text with an image. How would I do that?
  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    http://datatables.net/usage/i18n#oLanguage.sProcessing - just put your required HTML into there.

    Regards,
    Allan
  • TheGuestTheGuest Posts: 5Questions: 0Answers: 0
    Thanks Allan! I got what I need! A nice overlay with a loading bar in the middle of the data table!
  • iuliandumiuliandum Posts: 70Questions: 0Answers: 0
    Hello TheGuest!

    Show us what can you did to obtain overlay with a loading bar in the middle of the data table?

    Thanks!
This discussion has been closed.