Combobox with toolbar, possible?
I have an EditorGridPanel where the user can change project data. The projects can be of different types. Depending of what type is choosen, the user can select different sub-projects.
I can do this in 2 ways I guess.
1.
I have 2 grid columns: project and subproject.
If user changes the project column, the subproject column is loaded with a different store.
2.
When the user double-clicks the subproject field, the combobox shows a list with all subprojects AND a tbar where the user can change a head-project from a dropdown-menu or radiobuttons, this will load a different list for the combobox (different subprojects).
I would like to use the 2:nd way. Is this possible and how?
Is there any plugins out there? I have searched, but didn't find anything...
Best regards
Rickard Claeson
For the second solution you will need to override the initList method of the combobox and insert a Toolbar at the top of the innerList (you can partially copy the code from the paging toolbar that is created in initList).
#If you have any other info about this subject , Please add it free.# |