EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: acreonte82 on June 10, 2020, 01:06:17 PM



Title: Datagrid => replace text with icon on cell
Post by: acreonte82 on June 10, 2020, 01:06:17 PM
Hello to everyone,
is it possibile to replace some text in a cell of datagrid with an icon?
Thanks


Title: Re: Datagrid => replace text with icon on cell
Post by: jarry on June 10, 2020, 11:56:22 PM
Just set the field value to '<img src="...">', or define the 'formatter' function to return an <img>.


Title: Re: Datagrid => replace text with icon on cell
Post by: acreonte82 on June 11, 2020, 10:23:07 AM
Thanks!