F
Filament10mo ago
namrata

Split with label

Is there anyway to show label of the colum while using split
9 Replies
paanblogger
paanblogger10mo ago
Also looking for this solution
charleswilfriedk
charleswilfriedk10mo ago
+1 Or any other way to change the table columns width
Óscar
Óscar10mo ago
+1
Somebody
Somebody10mo ago
interested in this too
epertinez
epertinez10mo 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
awcodes10mo 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
epertinez10mo ago
Yet, if you want titles, they come BEFORE any formating of the state, don't they?
charleswilfriedk
charleswilfriedk10mo ago
That will add the label on each line! I don't think that's what we want. Not for me at least.
awcodes
awcodes10mo ago
well, it's no longer a table, so it can't have headers. 🙂
Want results from more Discord servers?
Add your server
More Posts