Row divider / separator to show promotion / relegation in league tables

Row divider / separator to show promotion / relegation in league tables

MKChrisMKChris Posts: 7Questions: 2Answers: 0

Good afternoon.

I'm looking for a way to show a separating or dividing line between certain rows, similar to what the BBC are doing in their football league tables: https://www.bbc.co.uk/sport/football/premier-league/table

I have a local sports league website and want to do a similar thing for tournament groups, where I show the automatic qualification spots from the group. I've had a search around but couldn't spot anything.

Many thanks in advance!

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,315Questions: 26Answers: 4,948
    Answer ✓

    I'm not sure exactly how "show the automatic qualification spots" is to be applied but possibly you can use rowCallback to apply/remove styling based on the row's data. See this example.

    Kevin

  • MKChrisMKChris Posts: 7Questions: 2Answers: 0

    Amazing Kevin, thanks! I'll be handing qualification spots in the database, so that's all fine - it looks like this will do what I need, thank you so much.

Sign In or Register to comment.