Colocar Datatables en varias tablas en una página

Colocar Datatables en varias tablas en una página

charly77charly77 Posts: 6Questions: 3Answers: 0

Hola. Soy nuevo en este foro y no sé si esto le habrá pasado a alguna otra persona.
He visto por internet que se pueden colocar dos Datatables en respectivas tablas en una sola página web.
Pero mi pregunta es si se pueden colocar cinco, ya que he colocado seis tablas y en 5 de ellas necesito su interfaz.
Muchas gracias por adelantado.

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,322Questions: 26Answers: 4,774
    Answer ✓

    my question is if five can be placed, as I have placed six tables and in 5 of them I need their interface.

    Yes you can have as many Datatables as you like. This example shows initializing two with the same config and jQuery selector (table.display) in one initialization statement.

    You may need one or more statements depending on whether they will have different initialization options or selectors.

    Kevin

  • charly77charly77 Posts: 6Questions: 3Answers: 0

    OK Muchas gracias Kevin.

Sign In or Register to comment.