How to customize very complex grid

How to customize very complex grid

GeasLuGeasLu Posts: 12Questions: 3Answers: 0

Developed with Javascript, Rest API, SmartAdmin Bootstrap

Good morning everyone,
I have to make a single page application and I try to use this datatables to make a complex grid, like this:

I need to involves, merged column, merged rows, different element in a column, image and runtime control of the user.

The datatables era support all of this features?

Thx

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,309Questions: 26Answers: 4,771
    Answer ✓

    merged column, merged rows

    Using rowspan and colspan in the -tag tbody` is not supported as documented in the installation docs.

    different element in a column, image

    You can place different / multiple elements in a cell. You can use columns.render for this. See this example.

    runtime control of the user.

    Do you mean using click events in the table? See this example. You will need a selector that finds the element you want to create a click event for.

    Kevin

  • GeasLuGeasLu Posts: 12Questions: 3Answers: 0

    Thx kthorngren, I'll try and i'll update this post.

    Bye

This discussion has been closed.