checkgroup

Discuss about Group-Office development here

Moderator: Developers

player0211
Posts: 8
Joined: Tue Oct 27, 2009 1:45 pm

checkgroup

Postby player0211 » Sun Feb 14, 2010 4:53 pm

Hi everybody,

i trying to make something like a checkgroup, checkColumn or multiple checkbox/combobox into the ContactProfilePanel.
But I have my first time with extjs.

Has sbd. experience with something like this and can help me?!?!?!
mschering
Site Admin
Site Admin
Posts: 8284
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: checkgroup

Postby mschering » Tue Feb 16, 2010 3:50 pm

Please check the extjs website. They have lots of tutorials and examples.
Best regards,

Merijn Schering
Intermesh
player0211
Posts: 8
Joined: Tue Oct 27, 2009 1:45 pm

Re: checkgroup

Postby player0211 » Wed Feb 17, 2010 5:44 pm

Hi,

thanks for your help....I found everything i need!!!

But one more question:
Everything is working I put this in the ContactProfilePanel:
t

Code: Select all

his.formContactTyp = new Ext.form.CheckboxGroup(
{
     fieldLabel: 'Kontakt Typ',
     items: [
                {boxLabel: 'Kunde', name: 'contacttyp_kunde'},
                {boxLabel: 'Lieferant', name: 'contacttyp_lieferant'}
            ]
      });
and made the change in the action.php to save the field contacttyp_kunde and contacttyp_kunde.
And everything is saved in the database (on, empty ), but when i open the contact again the form didn't show the values of the database.
and Both checkboxes are unklicked.

What is wrong
Can u give help!!!!
mschering
Site Admin
Site Admin
Posts: 8284
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: checkgroup

Postby mschering » Thu Feb 18, 2010 4:29 pm

It's a bug / missing feature in extjs I believe. You need to call setvalue on the checkboxes manually after the form loads.
Best regards,

Merijn Schering
Intermesh

Who is online

Users browsing this forum: No registered users and 2 guests

cron