Questions tagged [formpanel]

A panel that wraps its contents in an HTML

element.

99 questions
5
votes
2 answers

Extjs submit multipe tabpanel inside a Formpanel

Hi im looking for a way to submit a form that contains multiple tabbed forms. The user must be able to submit the entire data from all tabs at a single submit by POST. The major problem is that the data wont submit unless it is explicitly rendered /…
Ej DEV
  • 202
  • 3
  • 14
5
votes
2 answers

Extjs - Dynamically generate fields in a FormPanel

I've got a script that generates a form panel: var form = new Ext.FormPanel({ id: 'form-exploit-zombie-' + zombie_ip, formId: 'form-exploit-zombie-' + zombie_ip, border: false, labelWidth: 75, formBind: true, defaultType:…
Benjamin
  • 617
  • 13
  • 27
5
votes
3 answers

how to stretch inner panel in windows form on full screen mode?

I have a windows application that run in full screen and there are some panels inside my form which I want they stretch in width, I mean how i can add width=100% to these panel? As you see in the below image, right panel is my inner one(container…
Matt Stone
  • 291
  • 2
  • 4
  • 15
4
votes
3 answers

Align components in the center in a Panel: EXT JS

I am new to ext JS and I am tryin gto place 3 components in a FormPanel but I don't know ho wto align them in the center. Here is my code var durationForm = new Ext.FormPanel({ border : false, labelAlign : 'top', …
Ajan
  • 141
  • 2
  • 4
  • 10
3
votes
3 answers

Unable to call getValues() on an Ext Js FormPanel on initialization of a container Panel

I have an Ext Js panel that I am adding to my main TabPanel. The panel I am adding contains a FormPanel as one of it's items and inside the FormPanel I have a Name field. What I want to do is change the name of the Tab based on the name in the…
KallDrexx
  • 27,229
  • 33
  • 143
  • 254
3
votes
4 answers

How can I get a FormPanel to POST JSON with ExtJS 3.1.0?

By default, a FormPanel in ExtJS 3.1.0 posts the form fields as application/x-www-form-urlencoded when you call its submit() function. Is there any way to get it to post JSON instead?
Daniel T.
  • 37,212
  • 36
  • 139
  • 206
3
votes
2 answers

GWT and Sencha GXT: FormPanel result fails

TL/DR: How to load an XML response via FormPanel reliably? We have a web application in GWT using Sencha GXT for most of the UI. We use a GXT FormPanel to upload a file to a server-side script (which just echoes the file's contents) to get a local…
Joey
  • 344,408
  • 85
  • 689
  • 683
2
votes
1 answer

GWT - Can you nest FormPanels inside FormPanels?

I'm trying to nest a FormPanel inside another FormPanel. It seems that any field in the nested panel is never rendered. This screenshot is produced by the code below it: TabItem tabItem = new TabItem("Tab Item"); FormPanel formPanel = new…
Rachel
  • 3,691
  • 5
  • 32
  • 32
2
votes
1 answer

GWT: How do I get a Button widget reference given a FormPanel?

I'm using GWT 2.4. I have a reference to a FormPanel, which contains a Button, with id="save." How do I get a reference to the Button widget given the form panel instance? Note, that Button is not a direct descendant of formPanel, so…
Dave
  • 15,639
  • 133
  • 442
  • 830
2
votes
1 answer

ExtJS - Nested Window/FormPanel

This is sort of a subjective question, but I'd like to get some ideas on the best way to lay this out. I'll set up the situation for you. I have a grid with a column that allows the user to "View Details" on a particular item. The grid also allows…
dmackerman
  • 2,938
  • 5
  • 26
  • 43
2
votes
2 answers

extjs: open a new window when FormPanel submit function is used

Heya, i'm creating a Formpanel: inputForm = new Ext.FormPanel({ id:'inputForm', frame: true, closable:true, collapsible:true, renderTo:'somewhere', layout:'anchor', standardSubmit:true, method: 'post', items:[{…
TekTimmy
  • 3,066
  • 2
  • 29
  • 33
2
votes
1 answer

How to top-align and word-wrap a form panel field in ExtJS?

How can I make the multiline form field Descriptionword-wrap and top-align its text?