dom render option before table is being rendering

dom render option before table is being rendering

LiorkLiork Posts: 1Questions: 1Answers: 0

Hi allan, all

on my initComplete function I'm playing with my table elements (i.e button and search input location, didn't manage to get the same result using the dom option).

now the question, the initComplete is fired at the end and in the meanwhile the table button and search are not located where I want for few seconds till data is rendered on the table and the event it fired.
Is there any even that I can use for render those dom element before the data is being retrieve and render (to avoid the delay of few seconds)

using datatables 1.10.15

thanks!
keep this great work, amazing tool

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Hi Liork,

    The preInit may do the trick - take a look here. This page lists all the available Events.

    Cheers,

    Colin

This discussion has been closed.