Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to customize add_in_form window dimensions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
karthik_krishnan  
View profile  
 More options Nov 5 2012, 11:37 am
From: karthik_krishnan <karthikvkrish...@gmail.com>
Date: Mon, 5 Nov 2012 08:37:04 -0800 (PST)
Local: Mon, Nov 5 2012 11:37 am
Subject: How to customize add_in_form window dimensions

Hi,

Am trying to customize the add_in_form window size.  But it does not seem
to be possible.  The GridPanel::RecordFormWindow does not expose the
dimensions as part of config_properties in the server side.  I do see them
as js_properties.  How do we customize the dimensions of the add_in_form
window.

Rgds,
Karthik.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pward  
View profile  
 More options Nov 5 2012, 4:41 pm
From: pward <pward...@gmail.com>
Date: Mon, 5 Nov 2012 13:41:41 -0800 (PST)
Local: Mon, Nov 5 2012 4:41 pm
Subject: Re: How to customize add_in_form window dimensions

In your grid panel class, do the following

class MyGridPanel < BaseGridPanel
  def preconfigure_record_window(c)
    super
    c.width = "85%"
  end
end


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
karthik_krishnan  
View profile  
 More options Nov 5 2012, 10:31 pm
From: karthik_krishnan <karthikvkrish...@gmail.com>
Date: Mon, 5 Nov 2012 19:31:42 -0800 (PST)
Local: Mon, Nov 5 2012 10:31 pm
Subject: Re: How to customize add_in_form window dimensions

No Luck.  I could not find an existing preconfigure_record_window method,
 Looks like the one you are referring to is for older version of Basepack.
 The latest version does not have such facility.  


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nomadcoder  
View profile  
 More options Nov 5 2012, 10:38 pm
From: nomadcoder <nmco...@gmail.com>
Date: Tue, 06 Nov 2012 11:38:14 +0800
Local: Mon, Nov 5 2012 10:38 pm
Subject: Re: [netzke] Re: How to customize add_in_form window dimensions

Actually, the other way around: this code is valid for master, the
upcoming 0.8.0.

--
NC
@nomadcoder
author of @netzke


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
karthik_krishnan  
View profile  
 More options Nov 5 2012, 10:45 pm
From: karthik_krishnan <karthikvkrish...@gmail.com>
Date: Mon, 5 Nov 2012 19:45:25 -0800 (PST)
Local: Mon, Nov 5 2012 10:45 pm
Subject: Re: [netzke] Re: How to customize add_in_form window dimensions

oh!  I simply did the following to get it work

class MyWindow < RecordFormWindow
  js_properties :width => "80%"
end

And in my add_form_window_config, I overrode the class_name


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Madipally  
View profile  
 More options Nov 5 2012, 10:49 pm
From: Madipally <madipallynav...@gmail.com>
Date: Mon, 5 Nov 2012 19:49:32 -0800 (PST)
Local: Mon, Nov 5 2012 10:49 pm
Subject: Re: How to customize add_in_form window dimensions

 Hi Kathik,

            I am using extjs3 and netzke6, i have used following properties
to configure the add_in_form window width , which is working for me

    :add_form_window_config =>
    {
       :ext_config =>
       {
      :width =>'700'
       },
       :items => [
       {

       }]
     }

    Thanks
     Naveen Kumar Madipally


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Karthik Krishnan  
View profile  
 More options Nov 5 2012, 11:13 pm
From: Karthik Krishnan <karthikvkrish...@gmail.com>
Date: Tue, 6 Nov 2012 09:43:31 +0530
Local: Mon, Nov 5 2012 11:13 pm
Subject: Re: [netzke] Re: How to customize add_in_form window dimensions

Thanks Naveen.  Shall try that out as well.  But in the latest netzke if am
right, ext_config way of overrides are deprecated.

Best regards,
Karthik Krishnan.
http://karthiks.in


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Madipally  
View profile  
 More options Nov 5 2012, 11:23 pm
From: Madipally <madipallynav...@gmail.com>
Date: Mon, 5 Nov 2012 20:23:18 -0800 (PST)
Local: Mon, Nov 5 2012 11:23 pm
Subject: Re: [netzke] Re: How to customize add_in_form window dimensions

Hi Karthik,

          Yes you are right, but that will fire only a warning in the
console.try it once.

Thanks
Naveen Kumar Madipally


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »