EasyUI Forum

General Category => General Discussion => Topic started by: dilma12 on September 08, 2013, 08:36:36 PM



Title: edit combo datagrid
Post by: dilma12 on September 08, 2013, 08:36:36 PM
help me...
i have sintaks
<th k_acara',width:120,align:'left',halign:'center',
                  formatter:function(value,row){
                                return row.n_acara;
                  },
                   editor:{
                             type:'combobox',
                             options:{
                                        valueField:'k_acara',
                                        textField:'n_acara',
                                        url:'get_acara_penjualan_edit.php?kcustomer='+ $('#customer').combobox('getValues'),
                                        required:true
                                    }
                                }
  ">Acara</th>

but have problem sintaks...
$('#customer').combobox('getValues')
not getValues...


Title: Re: edit combo datagrid
Post by: stworthy on September 09, 2013, 01:31:25 AM
Please check to see if $('#customer') already exists.


Title: Re: edit combo datagrid
Post by: dilma12 on September 09, 2013, 04:26:23 AM
Please check to see if $('#customer') already exists.

i try like this
var customer = $('#customer').combobox('getValues');
variable customer i get value
but try edit datagird value i get not value.
please help me...