Cannot using bProcessing along with sDom

Cannot using bProcessing along with sDom

ghprodghprod Posts: 3Questions: 0Answers: 0
edited January 2013 in DataTables 1.9
Hi,

i have error "Typeerror: AN is undefined" when running datatable with bProcessing and sDom options together, here are the debug data

http://debug.datatables.net/enamex

Really appreciate with your hepls :)

Thanks

Replies

  • ghprodghprod Posts: 3Questions: 0Answers: 0
    Additional data , error was on line 2862

    [code]for ( var i=0, iLen=an.length ; i
  • allanallan Posts: 63,389Questions: 1Answers: 10,450 Site admin
    You don't have an `r` option in your sDom - which is needed for where to insert the processing element.

    Allan
  • ghprodghprod Posts: 3Questions: 0Answers: 0
    Hi Allan, thanks for your reply, and its works now :D

    for others who looking for solution, this all i've done, just change

    [code]"sDom": '<"tbl-tools-searchbox"fl<"clear">>,<"tbl_tools"CT<"clear">>,<"table_content"t>,<"widget-bottom"p<"clear">>',[/code]

    into

    [code]"sDom": '<"tbl-tools-searchbox"fl<"clear">>,<"tbl_tools"CT<"clear">r>,<"table_content"t>,<"widget-bottom"p<"clear">>',[/code]

    i've put "r" in sDom options :)

    Thanks and regards
This discussion has been closed.