Do not show identical rows

Do not show identical rows

Rachel Pfeiffer LeverageRachel Pfeiffer Leverage Posts: 5Questions: 3Answers: 0

Link to test case:

Student Mentor
Janet Mark
Janet Mark
Eli Emma

Description of problem:
I don't want to show identical rows. How do I filter them out (preferably server-side, but client-side will do if necessary)?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,330Questions: 26Answers: 4,951
    Answer ✓

    Not sure what your server side is but if you are using SQL you could use select distinct. This would be better than client side. In the client you would loop the array and build a new array with the unique rows then apply those rows to the Datatable.

    Kevin

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

    This example here might help - this is showing how on the client you can massage the data, such as removing those duplicate records.

    Colin

  • Rachel Pfeiffer LeverageRachel Pfeiffer Leverage Posts: 5Questions: 3Answers: 0

    Wow - thank you both!

Sign In or Register to comment.