EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Hoxxie on September 08, 2016, 06:46:43 AM



Title: several "field" in one cell
Post by: Hoxxie on September 08, 2016, 06:46:43 AM
Hello,

I can only very little English but I try to express good.

I want you to spend more data in a cell. how can I do that best?

LG Hoxxie


Title: Re: several "field" in one cell
Post by: jarry on September 08, 2016, 07:40:38 AM
You can define the 'formatter' function on a special column to display multiple field value on one cell. The code below shows how to achieve this functionality.
Code:
formatter: function(value,row){
return row.f1+row.f2+row.f3;
}