Search Type: Posts; User: paulharv
Search: Search took 0.02 seconds.
-
5 Mar 2013 4:57 AM
Jump to post Thread: Get a ComboBox's options by paulharv
- Replies
- 1
- Views
- 202
I got it - combo.getStore().data.
Thanks! -
5 Mar 2013 4:50 AM
Jump to post Thread: Get a ComboBox's options by paulharv
- Replies
- 1
- Views
- 202
I have a Combobox in form.
I want to get an array of the options in the Combo box.
What's the best way to do that?
I assumed there would be a nice combo.getOptions() method, or that I could get... -
15 Jan 2013 10:04 AM
- Replies
- 1
- Views
- 188
A bit more info...
For Tooltips created in the regular way, Ext.Tip#afterRender gets fired and it this that adds the close buitton if colsable is true.
However, this event is never fired for... -
14 Jan 2013 12:56 PM
- Replies
- 1
- Views
- 188
The docs and examples for Ext.QuickTips/Ext.ToolTip say of the closable config:
"True to render a close tool button into the tooltip header"
However, when the Tip is applied to a TreeNode this... -
28 Nov 2012 6:56 AM
- Replies
- 1
- Views
- 258
I removed the typeAhead:true config from the ComboBox and the bahavior went away.
(That's not right though!) -
28 Nov 2012 6:06 AM
- Replies
- 1
- Views
- 258
I have a EditorGridPanel and columns with ComboBoxs.
Just noticed that if I three options, say...
Dog
Cat
Mouse
...and Mouse is the saved value, then when I click the dropdown, my field gets... -
16 Nov 2012 12:42 PM
- Replies
- 1
- Views
- 444
Very odd one.
I have a grid and so long as at least one of the columns has an Ext.form.TextField editor, edits to the grid result in store's beforewrite, beforesave events firing.
However, if... -
21 Sep 2012 3:30 AM
- Replies
- 1
- Views
- 348
I'm using EditorGridPanels on dynamically generated web pages. ExtJS does not control the ViewPort.
When I wrap the Grid generation code in Ext.onReady(), the grids render perfectly.
If I do not... -
17 Jul 2012 11:20 AM
Jump to post Thread: Reject individual records saving by paulharv
- Replies
- 5
- Views
- 955
This does what I need...
// add blank record to store (and this blank rows to grid)
for(var i = (5 - storeCount); i > 0; i--) {
var record = new... -
17 Jul 2012 9:21 AM
Jump to post Thread: Reject individual records saving by paulharv
- Replies
- 5
- Views
- 955
Thanks. Is there support in ExtJS for removing records from the data object passed to beforesave?
What I was going to look into was overriding Ext.data.Record.valid(). Is there a built-in way to... -
17 Jul 2012 6:55 AM
Jump to post Thread: Reject individual records saving by paulharv
- Replies
- 5
- Views
- 955
Thanks very much - I considered that actually.
My problem is that a row is invalid only if all cells are blank. Individual cells are allowed to blank... -
16 Jul 2012 10:15 AM
Jump to post Thread: Reject individual records saving by paulharv
- Replies
- 5
- Views
- 955
When a store is set to autosave, is it possible to process the data object that gets passed to the beforesave event such that certain records within it can be prevented from getting saved to the...
-
16 Jul 2012 7:57 AM
- Replies
- 2
- Views
- 539
Thanks
I gave it a whirl, but it seems a little buggy.
I did...
store.suspendEvents(false); //queueSuspended set ti false to prevent events from queing
//... code to add records ...... -
13 Jul 2012 2:12 PM
- Replies
- 2
- Views
- 539
Hi,
I need to populate a Grid with blank rows. I can do this, but because the store has autosave set to true and is restful, a PUT request gets fired for each blank row that I insert. This is not... -
12 Jun 2012 6:37 AM
- Replies
- 1
- Views
- 347
Hi,
Does anyone have/know of a working example of a moving rows within an EditorGridPanel (or know why it's not working for me)?
I've found few examples, and the ones I've found use this... -
16 May 2012 2:14 AM
- Replies
- 1
- Views
- 330
I would have thought the ability to move rows up and down would be build right in. There are evidently plugins for drag and drop to reorder rows.
Can anyone suggest the best approach/point me to a... -
15 May 2012 4:19 PM
- Replies
- 1
- Views
- 330
Hi,
I'm implementing a menu option to move a row up/down.
From what I've seen removing the row from the store and re-inserting it at the correct index is a pretty standard way to go.
So in... -
15 May 2012 3:07 AM
- Replies
- 3
- Views
- 616
Thanks,
I tried
field.setAnimation('slidein')
field.show();
but got an 'undefined' error -
14 May 2012 4:23 AM
- Replies
- 5
- Views
- 754
It's a security thing. Your app is one domain and the webservice is in another - browsers don't allow cross domain scripting. The jsonp thing works by inserting a <script src="url to webservice"> tag...
-
14 May 2012 3:24 AM
- Replies
- 3
- Views
- 616
I've been looking at the docs on animation (Ext.anim etc) trying to figure out what I need to pass to Ext.form.TextArea.show() to get it animate. Nothing I've done has had an impact.
The docs for... -
11 May 2012 4:13 AM
- Replies
- 4
- Views
- 467
I'm closer.
Ext.Component.query() returns an array of matched components, so I need to reference the first element...
change:function(){
var exField =... -
11 May 2012 4:06 AM
- Replies
- 4
- Views
- 467
Thanks, but I'm afraid I still get the same result.
-
11 May 2012 3:06 AM
- Replies
- 4
- Views
- 467
change:function(){
var exField = Ext.ComponentQuery.query('textareafield[name=myfield]');
// next line outputs an object in the console which looks like the textareafield
... -
5 May 2012 4:11 AM
- Replies
- 1
- Views
- 374
A bit more info - when I observe the result of calling theSubmitButton.up("timeentryform") in the console I can drill down to the values but they are buried in the returned object. And if I call...
-
3 May 2012 6:52 PM
- Replies
- 2
- Views
- 603
Posted this in the wrong forum...it was intended for Sencha Touch 2!
Results 1 to 25 of 101
