Search Type: Posts; User: kaendsle
Search: Search took 0.01 seconds.
-
17 Dec 2012 7:33 AM
- Replies
- 1
- Views
- 126
Just to be clear: The trouble is that your human-readable ComboBox values (displayField values) are simply unavailable until you load the store. When a record is loaded you obtain the...
-
2 Oct 2012 10:52 AM
- Replies
- 3
- Views
- 715
Most components have methods like "setValue" or "setWidth" that allow you to change their behavior or appearance after they are instantiated. You should consult the documentation to see if the...
-
5 Sep 2012 6:36 AM
Jump to post Thread: Datepicker - choose initial date by kaendsle
- Replies
- 4
- Views
- 792
This may or not be what bruno~ is looking for, but this question, to me, is always about what seems to be an egregious oversight in the design of DateField: the need to specify which "page" (month)...
-
16 Jan 2012 11:43 AM
- Replies
- 3
- Views
- 1,297
So that non-premium Ext users can get help with this topic, here's an example of adding a checkbox toggle to the 'itemclick' event of the TreePanel. That is, when the item text is clicked, the...
-
12 Jan 2012 11:44 AM
Jump to post Thread: icons in ExtJS Docs by kaendsle
- Replies
- 3
- Views
- 1,394
There used to be a legend, as I recall.
I believe the pink boxes with stars refer to singletons, the blue boxes to classes, the brown boxes to namespaces, and the gears to 'components.' -
12 Jan 2012 11:40 AM
- Replies
- 7
- Views
- 950
As an example, this brief extension should get you a right-aligned button:
RightButton: Ext.extend(Ext.Button, {
initComponent: function() {
var config = {
... -
12 Jan 2012 11:26 AM
- Replies
- 2
- Views
- 505
Great! I can see now that's absolutely correct. Thank you.
-
12 Jan 2012 8:29 AM
- Replies
- 2
- Views
- 505
When using Ext.define() to define an override, I get the expected result in at least one browser but a fatal error in others. Errors are read from either Firebug or the Chrome Developer console.
... -
10 Jan 2012 11:51 AM
- Replies
- 5
- Views
- 1,404
Thanks for the tip. Is it safe to say I should only be using Ext.override() or calling the override method on a class when I've defined that class myself (i.e. not on ExtJS built-ins)?
-
10 Jan 2012 11:36 AM
- Replies
- 5
- Views
- 1,404
After reading the API documentation's help topics I found that extensions were covered under "Guides" > "Concepts" > "Components" but could not find any literature on overrides in ExtJS 4. I'm very...
-
16 Aug 2011 8:48 AM
Jump to post Thread: Create grid columns from Array by kaendsle
- Replies
- 2
- Views
- 603
I have used functions to dynamically construct arrays of fields for a reader. Basically, I wrap a self-executing function in parentheses and assign it to the fields config of my Reader. Below is an...
-
16 Aug 2011 8:43 AM
Jump to post Thread: Help to add a panel to a window. by kaendsle
- Replies
- 1
- Views
- 442
Just a couple suggestions until someone more knowledgeable shows up:
- Try wrapping your code in CODE and /CODE tags with [BRACES]; it will be easier to read and preserve whitespace
- Have you... -
16 Aug 2011 8:24 AM
- Replies
- 1
- Views
- 570
I don't have experience doing this inside a QuickTip pop-up, but I believe you can achieve the desired result wherever HTML is allowed by simply writing event handling into an anchor.
For example,... -
12 Aug 2011 7:22 AM
Jump to post Thread: customize extjs slider by kaendsle
- Replies
- 2
- Views
- 1,941
Check out the "CSS Customized Slider" here:
http://dev.sencha.com/deploy/ext-3.3.1/examples/slider/slider.html -
11 Aug 2011 10:43 AM
Jump to post Thread: convert value of field in Store by kaendsle
- Replies
- 5
- Views
- 657
Example columns definition where a renderer is used to display a pretty date/time format (array of Column instances for a ColumnModel):
ranger3Columns = [
{header: 'ID', dataIndex: 'id',... -
11 Aug 2011 9:55 AM
Jump to post Thread: convert value of field in Store by kaendsle
- Replies
- 5
- Views
- 657
If you're using the data in a ColumnModel (for a Grid), then it is very easy to do this with a renderer function, which is a config property of Column instances (and your ColumnModel accepts an array...
-
11 Aug 2011 7:35 AM
Jump to post Thread: Using Javascript in ExtJs by kaendsle
- Replies
- 4
- Views
- 988
Try the GMapPanel extension to integrate Google Maps (API v3, even) with ExtJS:
http://www.sencha.com/forum/showthread.php?40534-Ext.ux.GMapPanel-Google-Maps&highlight=gmap
When you create a... -
9 May 2011 11:56 AM
- Replies
- 2
- Views
- 2,767
If you are using the Ext.ux.GMapPanel or Ext.ux.GMapPanel3 extensions...
Assuming that myMapPanel is your GMapPanel instance you can do the following things:
var myMap =... -
9 May 2011 11:43 AM
- Replies
- 6
- Views
- 1,668
If I understand correctly, I think you are interested in populating a DateField (Calendar picker) with only a few available dates. This is the problem of needing an "inverse" of the disabledDates...
-
6 May 2011 9:19 AM
Jump to post Thread: Get listener within Extension by kaendsle
- Replies
- 2
- Views
- 912
You can't add listeners to the initComponent() method of an extension, because by the time the initComponent() method is called, event-handling behavior has already been determined. To add listeners...
-
6 May 2011 9:13 AM
- Replies
- 6
- Views
- 1,668
The Ext.form.DateField.getValue() method will return the current value of the DateField (DatePicker) instance. To call this method (and do something with the result) every time a selection is made,...
-
4 May 2011 9:19 AM
Jump to post Thread: Nested Grid Column all at top by kaendsle
- Replies
- 1
- Views
- 593
A Grouped Header Grid might be what you're looking for:
http://dev.sencha.com/deploy/ext-4.0.0/examples/grid/group-header-grid.html
Or a Pivot Grid, which is an extension(?) I believe; at any... -
27 Apr 2011 5:32 AM
Jump to post Thread: Ext-JS Component by kaendsle
- Replies
- 1
- Views
- 694
Here's a centered button that will close the window that contains it when clicked:
new Ext.Button({
scale: 'medium', text: 'Cancel',
style: {margin: '0 auto'},
handler: function()... -
21 Apr 2011 6:58 AM
Jump to post Thread: clone component into 'this' by kaendsle
- Replies
- 2
- Views
- 578
Shouldn't your MyApp.Card3() function return an object? I, too, like to use functional inheritance in ExtJS, but you need to be sure the function is returning an object. Also, isn't the this...
-
13 Apr 2011 10:06 AM
Jump to post Thread: remoteSort on multiple values by kaendsle
- Replies
- 10
- Views
- 1,960
I was also frustrated to find that when serving data remotely, multiple sorting isn't as easy as plugging in Ext.ux.Reorderer, Ext.ux.Droppable, and Ext.ux.ToolbarDroppable and extending a few...
Results 1 to 25 of 34
