In the subrutine in “UserInterface” in your wrksup01.aspx you need to call the generator of get xtype (your dropdown) in your case CtyCdeDD.aspx
//' ------------------------------------------------------------------------------------
//' Build and run the user interface
//' ------------------------------------------------------------------------------------
begsr UserInterface;
// Registre xtypes
// This is the program name of you xtype. Will be called and expand to the class definition
regClass('CTYCDEDD');
%>
//' Override prototypes
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
format : Ext.form.DateField.prototype.format.replace(/y/, 'Y')
//format : "d-m-Y"
});
….
This is done by the “regClass”. It simply does a normal call to the program which returns the xtype definition and register the class (hence the name regClass).
So you need in the above:
regClass(‘CTYCDEDD’); // This is the program name of your xtype
Classes and xtype in extjs are same same.
Now you need to use the class. In the “tabPanel” function where your postcode is (I assume its the postcode dropdown … :)
Re: ExtJS Paging Grid
Hi Peter;
In the subrutine in “UserInterface” in your wrksup01.aspx you need to call the generator of get xtype (your dropdown) in your case CtyCdeDD.aspx
This is done by the “regClass”. It simply does a normal call to the program which returns the xtype definition and register the class (hence the name regClass).
So you need in the above:
regClass(‘CTYCDEDD’); // This is the program name of your xtype
Classes and xtype in extjs are same same.
Now you need to use the class. In the “tabPanel” function where your postcode is (I assume its the postcode dropdown … :)
Thats all there is to it… You can do any xtypes you want: Static by javascript. Dynamic – by IceBreak aspx program.
Xtypes is a big mountain of LEGO …
Best regards,
Niels Liisberg