F
Filament15mo ago
namrata

Split with label

Is there anyway to show label of the colum while using split
9 Replies
paanblogger
paanblogger15mo ago
Also looking for this solution
charleswilfriedk
charleswilfriedk15mo ago
+1 Or any other way to change the table columns width
Óscar
Óscar14mo ago
+1
Somebody
Somebody14mo ago
interested in this too
epertinez
epertinez14mo ago
+1 In my case... I need to use Split or Grid because i want a collapsible Panel or View under each row. Alternatively: Is there a way to force column labels with Split or Grid, even if custom made?
awcodes
awcodes14mo ago
With split and grid it is no longer an html table so if you want labels you will have to format the state to return a label, ie ->formatStateUsing(fn ($state) => 'Number: ' . $state) Ideally this should return a definition list for accessibility but that’s the general idea.
epertinez
epertinez14mo ago
Yet, if you want titles, they come BEFORE any formating of the state, don't they?
charleswilfriedk
charleswilfriedk14mo ago
That will add the label on each line! I don't think that's what we want. Not for me at least.
awcodes
awcodes14mo ago
well, it's no longer a table, so it can't have headers. 🙂
Want results from more Discord servers?
Add your server