EasyUI Forum
September 14, 2025, 09:41:10 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: formatter function  (Read 7737 times)
wel
Newbie
*
Posts: 30


View Profile Email
« on: January 06, 2016, 06:21:52 PM »

I can not find explaining in the documentation, what the formatter function is doing in this combobox ?

Code:
<th data-options="field:'work_group_id',width:10,
            formatter:function(value,row){
               return row.work_group;
            },
            editor:{
            type:'combobox',
            options:{
            valueField:'work_group_id',
            textField:'work_group',
            method:'get',
            url:'pages/work_groups.php',
            required:true
          }
    }">Groups</th>

</tr>
Logged
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« Reply #1 on: January 06, 2016, 06:55:59 PM »

that is a datagrid column formatter not a combobox formatter..
Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
wel
Newbie
*
Posts: 30


View Profile Email
« Reply #2 on: January 06, 2016, 07:02:01 PM »

many thanks
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!