Using sDom to remove an element from table
Using sDom to remove an element from table
Hi I have looked through the API for sDom at Allans suggestion but the syntax really does not make sense to me.
In the API spec one of the examples is [code]'<"wrapper"flipt>'[/code] but what is this doing? I this its could be injecting the table into an existing div with a class of wrapper and then every option passed afterwards to render the table.
I have managed after reading the API to kind of work out what I needed to do for this but some clarification on the syntax would still be appreciated, it was actually really simple after I noticed the default setting is [code]"sDom": "lfrtip"[/code]
To answer my own question all I needed to do was remove the f from this and include the rest of the parameters but I am still unsure on on the rest of the syntax such as using only a single bracket:
[code]ip>'[/code]
I am also unsure of whether the angle brackets in the syntax denote an existing div that should be on the page, or whether this will be created for you.
In the API spec one of the examples is [code]'<"wrapper"flipt>'[/code] but what is this doing? I this its could be injecting the table into an existing div with a class of wrapper and then every option passed afterwards to render the table.
I have managed after reading the API to kind of work out what I needed to do for this but some clarification on the syntax would still be appreciated, it was actually really simple after I noticed the default setting is [code]"sDom": "lfrtip"[/code]
To answer my own question all I needed to do was remove the f from this and include the rest of the parameters but I am still unsure on on the rest of the syntax such as using only a single bracket:
[code]ip>'[/code]
I am also unsure of whether the angle brackets in the syntax denote an existing div that should be on the page, or whether this will be created for you.
This discussion has been closed.