Display dividing line after a group of rows not every row

Display dividing line after a group of rows not every row

murday1983murday1983 Posts: 27Questions: 11Answers: 0
edited July 26 in Free community support

In my dataTable i am populating it with telephone numbers but these numbers can be duspliacted as they may have a different extension (for example) so rather than displaying the row divider on evey line i'd like to know if its possible to display after a number with numerious rows?

Below is an example with fake numbers in.


Note: its only if the telephone number matches not any other column

Answers

  • allanallan Posts: 54,578Questions: 1Answers: 8,533 Site admin

    We have a RowGrouping plug-in which might be useful?

    But to have the exact layout you show in your picture, you would need to use drawCallback / draw to spin over the rows in the table and add / remove classes which will show the lines. Quite possible, but it will need little extra code.

    Allan

Sign In or Register to comment.