Skip to content

How to use verticallyAlignStart() on bulk checkbox in front? #15451

Answered by mc-fu
mc-fu asked this question in Help
Discussion options

You must be logged in to vote

Ok, managed it by myself modifying the css code:

just added ->recordClasses(['vertical-align-selection-cell', 'vertical-align-cell']) to my $table and the corresponding css part looks like this:

.vertical-align-selection-cell .fi-ta-selection-cell {
    vertical-align: top;
    padding-bottom: .25rem;
    padding-top: .25rem;
}

.vertical-align-cell .fi-ta-cell {
    vertical-align: top;
}

first one moves the selection checkbox vertically to the top with some padding to display nicely and second one is for the cells (in that case i don't need to specify ->verticallyAlignStart() to all my cells as i need it on all cells in this table anyway.

So if someone needs it as well, this is the wor…

Replies: 1 comment

Comment options

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