EasyUI Forum
May 20, 2024, 06:36:55 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: several "field" in one cell  (Read 3574 times)
Hoxxie
Newbie
*
Posts: 1


View Profile
« 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
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 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;
}
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!