bosskmk / pluto_grid

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.

Home Page:https://pluto.weblaze.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] - break down column title with \n

kw2019ltd opened this issue · comments

commented

hi
its possible i want column text to break down in case iam giving it ' \n' name like
'southern \n United State \n food'

so final column ui will be like
southern
United State
food

image

try PlutoColumn.titleSpan

commented

try PlutoColumn.titleSpan

actually i tried that and only the first part was shown in above example only "southern" was visible

I am having the same issue

in fact, it's widget, base on flutter widgets, you can achieve the style you want in any form, for instance, WidgetSpan(child:Column(children:[Text('hello'), Text('world')]))

commented

WidgetSpan(child:Column(children:[Text('hello'), Text('world')]))

woks fine thanks