Add custom orthogonal data

Add custom orthogonal data

JesterAntikJesterAntik Posts: 12Questions: 3Answers: 0

In our implementation we use DOM-datasource. For sort/filter use orthogonal data. This data has been used in render and other callbacks. But sometimes we need other data. Is it posible set custom data-* attribute and see it at data object?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,893Questions: 1Answers: 10,530 Site admin
    Answer ✓

    Currently no - only the attributes documented in the manual for orthogonal data can be used if you want to use the attribute data source. You'd need to modify the source to change them.

    The other option though would be to use a rendering function to return the required orthogonal data - although that can't read from the attributes - it would need to be in a data source object.

    Allan

This discussion has been closed.