Searchpane results in [object Object]

Searchpane results in [object Object]

nessinitsnessinits Posts: 86Questions: 27Answers: 0

Hi,

I'm testing the SearchPane in a datatable that shows the results of an ajax JSON request.

The SearchPane has 4 columns of which 3 show correct, but 1 column results in [object Object]. I expect it's because it's a multi-select column.

Can anyone tell me how to render the content of this column correctly?

Kind regards,
nessinits

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @nessinits ,

    Yep, I imagine the generic code would be expecting strings in the columns, so if it's different it will take some tinkering.

    We're happy to take a look, but it would help if you could link to a running test case showing the issue so we can offer some help. 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

  • nessinitsnessinits Posts: 86Questions: 27Answers: 0

    I'll send you a PM

This discussion has been closed.