Skip to content

Customize new Footer #4733

Closed Answered by kdkavanagh
kdkavanagh asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like I just needed to adjust the grid CSS to account for my new column(s), since the Footer class explicitly sets the number of columns to the number of displayed bindings

class TableFooter(Footer):

    def compose(self):
        yield from super().compose()
        yield FooterRowCount()
        self.styles.grid_size_columns = self.styles.grid_size_columns + 1

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kdkavanagh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant