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.
On Monday, November 5, 2012 10:37:04 AM UTC-6, karthik_krishnan wrote:
> 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.
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.
On Tuesday, November 6, 2012 3:11:41 AM UTC+5:30, pward wrote:
> In your grid panel class, do the following
> class MyGridPanel < BaseGridPanel > def preconfigure_record_window(c) > super > c.width = "85%" > end > end
> On Monday, November 5, 2012 10:37:04 AM UTC-6, karthik_krishnan wrote:
>> 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.
> karthik_krishnan <mailto:karthikvkrish...@gmail.com>
> 6 Nov 2012 11:31
> 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.
> On Tuesday, November 6, 2012 3:11:41 AM UTC+5:30, pward wrote: --
> You received this message because you are subscribed to the Google > Groups "Netzke" group.
> To post to this group, send email to netzke@googlegroups.com.
> To unsubscribe from this group, send email to > netzke+unsubscribe@googlegroups.com.
> To view this discussion on the web visit > https://groups.google.com/d/msg/netzke/-/Q08SaWWgkkYJ.
> For more options, visit https://groups.google.com/groups/opt_out.
> pward <mailto:pward...@gmail.com>
> 6 Nov 2012 05:41
> In your grid panel class, do the following
> class MyGridPanel < BaseGridPanel
> def preconfigure_record_window(c)
> super
> c.width = "85%"
> end
> end
> On Monday, November 5, 2012 10:37:04 AM UTC-6, karthik_krishnan wrote: --
> You received this message because you are subscribed to the Google > Groups "Netzke" group.
> To post to this group, send email to netzke@googlegroups.com.
> To unsubscribe from this group, send email to > netzke+unsubscribe@googlegroups.com.
> To view this discussion on the web visit > https://groups.google.com/d/msg/netzke/-/D8S5tX47YiwJ.
> For more options, visit https://groups.google.com/groups/opt_out.
> karthik_krishnan <mailto:karthikvkrish...@gmail.com>
> 6 Nov 2012 00:37
> 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 received this message because you are subscribed to the Google > Groups "Netzke" group.
> To post to this group, send email to netzke@googlegroups.com.
> To unsubscribe from this group, send email to > netzke+unsubscribe@googlegroups.com.
> To view this discussion on the web visit > https://groups.google.com/d/msg/netzke/-/VPEbg2ew2ocJ.
> For more options, visit https://groups.google.com/groups/opt_out.
On Tuesday, November 6, 2012 9:08:22 AM UTC+5:30, nomadcoder wrote:
> Actually, the other way around: this code is valid for master, the > upcoming 0.8.0.
> -- > NC > @nomadcoder > author of @netzke
> karthik_krishnan <javascript:> > 6 Nov 2012 11:31 > 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.
> On Tuesday, November 6, 2012 3:11:41 AM UTC+5:30, pward wrote: -- > You received this message because you are subscribed to the Google Groups > "Netzke" group. > To post to this group, send email to net...@googlegroups.com <javascript:> > . > To unsubscribe from this group, send email to > netzke+un...@googlegroups.com <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msg/netzke/-/Q08SaWWgkkYJ. > For more options, visit https://groups.google.com/groups/opt_out.
> pward <javascript:> > 6 Nov 2012 05:41 > In your grid panel class, do the following
> class MyGridPanel < BaseGridPanel > def preconfigure_record_window(c) > super > c.width = "85%" > end > end
> On Monday, November 5, 2012 10:37:04 AM UTC-6, karthik_krishnan wrote: -- > You received this message because you are subscribed to the Google Groups > "Netzke" group. > To post to this group, send email to net...@googlegroups.com <javascript:> > . > To unsubscribe from this group, send email to > netzke+un...@googlegroups.com <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msg/netzke/-/D8S5tX47YiwJ. > For more options, visit https://groups.google.com/groups/opt_out.
> karthik_krishnan <javascript:> > 6 Nov 2012 00:37 > 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 received this message because you are subscribed to the Google Groups > "Netzke" group. > To post to this group, send email to net...@googlegroups.com <javascript:> > . > To unsubscribe from this group, send email to > netzke+un...@googlegroups.com <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msg/netzke/-/VPEbg2ew2ocJ. > For more options, visit https://groups.google.com/groups/opt_out.
On Monday, November 5, 2012 10:07:04 PM UTC+5:30, karthik_krishnan wrote:
> 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.
> On Monday, November 5, 2012 10:07:04 PM UTC+5:30, karthik_krishnan wrote:
>> 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 received this message because you are subscribed to the Google Groups
> "Netzke" group.
> To post to this group, send email to netzke@googlegroups.com.
> To unsubscribe from this group, send email to
> netzke+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/netzke/-/-f9TJ3STX1cJ.
>> On Monday, November 5, 2012 10:07:04 PM UTC+5:30, karthik_krishnan wrote:
>>> 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 received this message because you are subscribed to the Google Groups >> "Netzke" group. >> To post to this group, send email to net...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> netzke+un...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/netzke/-/-f9TJ3STX1cJ.