EasyUI Forum
May 13, 2024, 05:39:51 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: Groups in combobox on: July 01, 2013, 10:42:04 PM
any help regarding my question?
2  General Category / EasyUI for jQuery / textField & valueField in combobox in datagrid [solved] on: June 29, 2013, 12:49:34 PM
Hi,
I have set the valueField to productid, and the textField to productname. However, after I have chosen my option, the grid displays the valueField, whereas I want it to display the text version, and at the same time, I need the valueField for sending the data back to the server.
3  General Category / EasyUI for jQuery / Re: Combobox with multiple=true in datagrid on: June 27, 2013, 10:35:39 AM
Thanks a lot. It works !
4  General Category / EasyUI for jQuery / Re: Groups in combobox on: June 27, 2013, 10:34:47 AM
Hi,
Thanks for the example which helped me a lot.

I would like to know how I can set the valueField (i.e. what will be displayed in the combobox after the user selects an option) to be a mix of the group name & the item name (e.g. Grp1-item1).
5  General Category / EasyUI for jQuery / Combobox with multiple=true in datagrid [solved] on: June 26, 2013, 01:02:01 PM
Hi,
I am not getting it working fully. After I select the several options I want, and then click on accept, I am losing the selections (or it is not being shown in the row, I don't know). Also, the selections look like this: ,cat1, cat2. From where is this comma at the beginning coming?
I need to select several categories, and show their names after the selecting process. JSON data received is simple:
[{"id":1, "name":"cat1"}, {"id":2, "name":"cat2"}]
Code:
<th data-options="field:'Drw_cat_id',width:120,
                formatter:function(value,row,index){
                    return value;
                  }
                },
                editor:{
                    type:'combobox',
                    options: {
                        multiple:true,
                        valueField:'name',
                        textField:'name',
                        url:'/drawer_categories/'
                    }
                }
            ">Drw Category</th>

Thanks
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!