Jun 16, 2015, 3:25 AM
[CLOSED] Combobox selection and gridpanel model
Hi,
I'm using ext.net 3.1.
I have one gridpanel and one combobox in my page.
Here my requirement is when ever item got selected in combobox then gridpanel should be updated based on the selected value.
Now, while page load intially the gridpanel renders the default data perfectly...Grid panel loads the data but model and gridheaders are not updated but data and page size updated properly when ever I try to change the value in combobox .
Here is my problem because of header/model but data is not displaying properly.
Im using combobox select directevent...
I guess store or model is not clearing properly.
I tried as below:
Please help me on this.
Thanks,
Vamsi.
I'm using ext.net 3.1.
I have one gridpanel and one combobox in my page.
Here my requirement is when ever item got selected in combobox then gridpanel should be updated based on the selected value.
Now, while page load intially the gridpanel renders the default data perfectly...Grid panel loads the data but model and gridheaders are not updated but data and page size updated properly when ever I try to change the value in combobox .
Here is my problem because of header/model but data is not displaying properly.
Im using combobox select directevent...
I guess store or model is not clearing properly.
I tried as below:
Store1.Model.clear();
Gridpanel1.getstore().Model.clear();
GridPanel1.ColumnModel.Columns.clear();
but nothing happens.Please help me on this.
Thanks,
Vamsi.
Last edited by Daniil; Aug 09, 2015 at 12:08 PM.
Reason: [CLOSED]