-
20 Oct 2011 11:05 PM #1
how to get selected value of combo box into grid
how to get selected value of combo box into grid
how to get selected value of combo box into grid
I have a combo box..........in wich different values are there
M selecting a value and saving the form.................So I want wen I click on save the selected value of combo box shd get loaded into grid.......
but the prob is that m able to save the form but it is displaying all the values of combo box into the grid...........where I want only the selected value of combo box shd appear in the grid
the code m using for getting values of combo box into grid is :
please help me out with this.............I usedCode:role_id_1 = Ext.getCmp("user_role_99").getValue(); roleId_store_grid.insert(0, {'roleIdInGrid':role_id_1}); roleId_store_grid.load();
recordType({newRecord:true})
so its giving an
error: that recordType is not a constructor
-
25 Oct 2011 7:40 AM #2
if you post the code of the grid and the combo box also, that might help others have a better idea of your problem.
try using getRawValue() for getting the value of the combobox if you are not using a valueField config in the combo box.
also, after adding the new row using insert, shouldnt you sync the store to the server instead of loading it?
-
25 Oct 2011 7:50 AM #3
-
28 Oct 2011 8:18 AM #4
I got the solution
I got the solution
hey I got the solution by myself well I did mistake in the
roleId_store_grid.insert(0, {'roleIdInGrid':role_id_1}); roleIdInGrid as it was mismatching the name of the ID of gridPanel........
Thnx for help
-
28 Oct 2011 9:58 AM #5
Thank you for the reply...
Pajaro Dunes
Pajaro Dunes Rentals
-
4 Nov 2011 2:27 AM #6
option for remember password in sencha touch application
option for remember password in sencha touch application
I want an option of remember for the user when user entar the username /password
is it possible in Iphone and I pad
Thank's in add

-
4 Nov 2011 2:52 AM #7
Hey checkout this pdf's page no. 10 hopefully u'll get ur solution for checkbox field
but the look n style will be changed for Iphone and Ipad, it will not be same as we have checkbox in our browser...
http://www.manning.com/garcia2/STiA_meap_ch01.pdf
-
4 Nov 2011 3:02 AM #8
My problem is not a chek box
i want a chek box with remember password field and user can save his/her password
-
6 Nov 2011 11:15 PM #9
I dont think there is such a special checkbox for remember password u need to code the functionality behind that checkbox for saving his/her password
-
8 Nov 2011 12:42 AM #10
Remember Password
Remember Password
Thank's




Reply With Quote