ThierryC
08-13-2009, 10:54 AM
i've created a program based on your program option usage, (vvoptusg)
When i use firebug to see what is posted when activating a combobox,
i see some fields (start, and query) for wich i can't find any definition.
nor can i find something about them in the extjs documentation.
the reason why looking at that is; i have a form on wich there are several filter options, When clicking on a combobox, i want to show only the options, taking into account already the other filters on the form.
you could compare with autofilter option in excel,
f.e i apply a filter in column A., when now looking at the filter on column b, only the values are shown for those also valid for the filter in col. A,
(kind of drill down)
i've added to the baseparms, the field i want to xfer , but as soon as i want to open the form, i get 'Ext.getCmp("brgrcombo") is undefined.'
how can this be done, a where are those 'ghost' fields (query and start) defined.?
in my handler i want to when i want to transfer th
this is my html
,items:[
// branchgroep
{
xtype: 'combo',
id:'brgrcombo',
fieldLabel: 'Select Branchgroup',
store: new Ext.data.JsonStore({
root: 'VVGENDS1',
fields: ['VVREC','VVVALUE'],
url: 'cobd20r.pgm',
baseParams: {
action: 'GetBrgrCombo',
sid:sid
},
totalProperty: "totalCount"
}),
displayField: 'VVREC',
valueField: 'VVVALUE',
forceSelection: true,
triggerAction: 'all',
pageSize: 20,
typeAhead: true,
mode: 'remote'
},
// branchcode
{
xtype: 'combo',
id:'brcmcombo',
fieldLabel: 'Select Branchcode',
store: new Ext.data.JsonStore({
root: 'VVGENDS1',
fields: ['VVREC','VVVALUE'],
url: 'cobd20r.pgm',
baseParams: {
action: 'GetBrcmCombo',
brcm: Ext.getCmp('brgrcombo').getValue(''),
sid:sid
},
totalProperty: "totalCount"
}),
displayField: 'VVREC',
valueField: 'VVVALUE',
forceSelection: true,
triggerAction: 'all',
pageSize: 20,
typeAhead: true,
mode: 'remote'
},
When i use firebug to see what is posted when activating a combobox,
i see some fields (start, and query) for wich i can't find any definition.
nor can i find something about them in the extjs documentation.
the reason why looking at that is; i have a form on wich there are several filter options, When clicking on a combobox, i want to show only the options, taking into account already the other filters on the form.
you could compare with autofilter option in excel,
f.e i apply a filter in column A., when now looking at the filter on column b, only the values are shown for those also valid for the filter in col. A,
(kind of drill down)
i've added to the baseparms, the field i want to xfer , but as soon as i want to open the form, i get 'Ext.getCmp("brgrcombo") is undefined.'
how can this be done, a where are those 'ghost' fields (query and start) defined.?
in my handler i want to when i want to transfer th
this is my html
,items:[
// branchgroep
{
xtype: 'combo',
id:'brgrcombo',
fieldLabel: 'Select Branchgroup',
store: new Ext.data.JsonStore({
root: 'VVGENDS1',
fields: ['VVREC','VVVALUE'],
url: 'cobd20r.pgm',
baseParams: {
action: 'GetBrgrCombo',
sid:sid
},
totalProperty: "totalCount"
}),
displayField: 'VVREC',
valueField: 'VVVALUE',
forceSelection: true,
triggerAction: 'all',
pageSize: 20,
typeAhead: true,
mode: 'remote'
},
// branchcode
{
xtype: 'combo',
id:'brcmcombo',
fieldLabel: 'Select Branchcode',
store: new Ext.data.JsonStore({
root: 'VVGENDS1',
fields: ['VVREC','VVVALUE'],
url: 'cobd20r.pgm',
baseParams: {
action: 'GetBrcmCombo',
brcm: Ext.getCmp('brgrcombo').getValue(''),
sid:sid
},
totalProperty: "totalCount"
}),
displayField: 'VVREC',
valueField: 'VVVALUE',
forceSelection: true,
triggerAction: 'all',
pageSize: 20,
typeAhead: true,
mode: 'remote'
},