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.
https://pluto.weblaze.dev
MIT License
664 stars 305 forks source link

[Help] Multiple font styles within a cell #872

Closed SteveBraich closed 1 year ago

SteveBraich commented 1 year ago

Hello, Pluto Grid is a very rich data grid. Thank you for spending the time to develop it. I was wondering if it's possible do the following:

I would like to display 2 columns of data. The 2nd column should show the difference between it and the 1st column.

For example:

Column 1: This is a story about a boy. Column 2: This is a <font color=red>true</font> story about a boy <font color=red style="text-decoration: line-through;">and a girl</font>.

I am able to generate the CSS style tags above and pass that to a grid. We were able to achieve this with a Flutter Table widget. No other widgets seemed to work. However, the Table widget is very limited.

Is there anyway to do this with Pluto Grid?

SteveBraich commented 1 year ago

I figured out how to do this. See my question and answer I posted on Stack Overflow:

https://stackoverflow.com/questions/76577878/multiple-font-styles-within-a-cell-of-a-flutter-pluto-grid/

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.