Initialize Blank Datatable with Orthogonal Data

Initialize Blank Datatable with Orthogonal Data

ngelottengelotte Posts: 1Questions: 1Answers: 0

I am using a datatable with orthogonal data using html5 data- attributes. When data in the table is added or edited I update a row or add a new row using row.add. However, if the table is blank on initialization the datatable all the columns are initialized with standard data so when a new row is inserted with a correctly formated dataarray for orthogonal data the column says [object Object] for the cell value. How can I initialize a certain column on a blank datatable to know that a certain column will contain orthogonal data or modify a column to have orthogonal data after initialization before I insert my first row.

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    Hi @ngelotte ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.