how to avoid duplicate rows of a particular column?

how to avoid duplicate rows of a particular column?

vaishnavkokavaishnavkoka Posts: 132Questions: 23Answers: 1

Hi Team,

I have been trying to avoid duplicate rows in the pdf export button,but i couldn't achieve this,https://codepen.io/vaishnavkoka/pen/wOVQGZ
for example: In description column , "Alphabet Puzzle" is being repeated in the datatable , i would like to merge of display this kind of repeated value only once(in pdf export) too.

Thanks
Koka

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @vaishnavkoka ,

    This example here is changing the colour of cell in the PDF conditionally. You would need to do something similar, keeping a note of cells seen, and if seen again, just remove the body.

    Hope that helps,

    Cheers,

    Colin

  • vaishnavkokavaishnavkoka Posts: 132Questions: 23Answers: 1

    Hi @colin,

    But in my case i want to merge those cells instead of coloring.

    Thanks
    Koka

  • vaishnavkokavaishnavkoka Posts: 132Questions: 23Answers: 1

    Hi @colin,

    Expecting a solution from your end.

    Thanks
    Koka

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @vaishnavkoka ,

    We offer support packages if you're expecting a solution - please see here. I can't really expand any more than my first comment above - I showed you how to navigate through the document with an example, and explained what you need to do.

    Cheers,

    Colin

  • vaishnavkokavaishnavkoka Posts: 132Questions: 23Answers: 1
    edited April 2019

    Hi Colin,
    Here are the changes i tried but still i did not get the required result in the pdf, instead i got it in the datatable
    live.datatables.net/bilaxipo/1/edit

    live.datatables.net/pocomuho/1/edit

    Thanks
    Koka

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    Please refer to Colin's last post.

This discussion has been closed.