show data of two columns

show data of two columns

Andreas S.Andreas S. Posts: 207Questions: 73Answers: 4

I need to show the data of two rows in the editor. The two examples did not help me, because I need both row Data for a compare and Merge. In my case I would see on the left side row1 and on the right side row 2. how can I do this?

Andreas

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @Andreas S. ,

    I'm struggling to understand this - could you point me towards those examples you're referring to, that might give a better understanding,

    Cheers,

    Colin

  • Andreas S.Andreas S. Posts: 207Questions: 73Answers: 4

    Hi,
    I get those two examples: https://editor.datatables.net/examples/simple/multiRow.html and https://editor.datatables.net/examples/advanced/multiItem.html

    What I need is, to merge two selected rows to one. The data of both rows should be shown in the editor windows. The examples shows only "Multible Values" in the inbox.
    What I need is like this:

                     row1      row2
    data_column1:    xxxxx     yyyyy
    …..
    

    I did not known ho can I do this in the editor if two rows selected.

    Andreas

  • allanallan Posts: 61,654Questions: 1Answers: 10,094 Site admin

    Hi,

    I'm afraid that this is not something that Editor currently does. You'd need to merge the data according to whatever logic you need in Javascript, then submit the resulting row as a new row and delete the old two.

    Allan

  • Andreas S.Andreas S. Posts: 207Questions: 73Answers: 4

    Hi,
    The data merge is doing by the server script. There is now way to show the Data of two rows in the editor?

    Andreas

This discussion has been closed.