Search Type: Posts; User: crysfel
Search: Search took 0.03 seconds.
-
Yesterday 1:38 PM
- Replies
- 7
- Views
- 429
If you want to use icons inside of a XTemplate you should use inline-icon mixing instead:
.my-custom-class-with-icon{
@include inline-icon('minus');
}
.my-custom-class-with-icon:before{... -
26 Feb 2013 9:37 AM
Jump to post Thread: panel/chart in tpl by crysfel
- Replies
- 1
- Views
- 121
What I usually do in these situations is to create the panel/chart or any other component that I need in the onRender method of the class, this way I can render the component anywhere I want using...
-
25 Feb 2013 1:26 PM
- Replies
- 3
- Views
- 538
Inside of the html property you can add any HTML code that you want but if you want the text to be dynamic you should use the tpl and data properties instead.
-
13 Dec 2012 3:17 PM
- Replies
- 2
- Views
- 264
You can try the references:
Ext.define('YourApp.controller.Main',{
extend : 'Ext.app.Controller',
refs : [
{ref:'grid',selector:'acontainer anotherpanel... -
13 Dec 2012 3:09 PM
- Replies
- 3
- Views
- 273
The red triangle appears because the node is marked as dirty every time you change the original value of the field, in order to remove that triangle (or in other words make it clean) you need to...
-
15 Oct 2012 6:39 AM
- Replies
- 6
- Views
- 508
You need to add a writer to your store, this way every time you add/update/remove a record, the store will synchronize your store with your server.
Regards -
10 Oct 2012 8:38 AM
- Replies
- 4
- Views
- 991
In order to create a new theme and add support for legacy browsers (IE), you need to use images for gradients, rounded corners and so on.
There's a tool that you can use to generate the images... -
5 Oct 2012 11:28 AM
- Replies
- 4
- Views
- 479
The class looks fine, how are you creating the instance?
-
5 Oct 2012 11:22 AM
- Replies
- 2
- Views
- 389
Instead of harcoding the columns you should create the array of columns dynamically, something like this:
var columns = [];
if (attrData.length > 0) {
for (var prop in... -
26 Sep 2012 9:30 AM
- Replies
- 2
- Views
- 240
Yes, it's possible to extend any class in the framework. I do it all the time :D
-
21 Sep 2012 8:14 AM
Jump to post Thread: ExtJS Animations by crysfel
- Replies
- 2
- Views
- 946
Sure, there is! Take a look a the Ext.util.Animation class: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.util.Animate
var p1 = Ext.get('myElementId'); //Getting a dom element by ID
... -
21 Sep 2012 8:11 AM
- Replies
- 6
- Views
- 1,641
Will be deprecated also in the request method of the connection class?
-
20 Sep 2012 11:35 PM
- Replies
- 6
- Views
- 643
Do you have any error on the javascript console?
-
20 Sep 2012 9:24 PM
- Replies
- 6
- Views
- 1,641
Use the jsonData parameter instead of the extraParams :D
Regards -
20 Sep 2012 9:14 PM
- Replies
- 2
- Views
- 467
The easiest way to do it is to just make a regular ajax request, create the correct object structure and then load the store.
Ext.Ajax.request({
url : 'data.json',
success :... -
13 Sep 2012 1:11 PM
- Replies
- 6
- Views
- 864
You can use the mapping property of the fields to specify the path from the value will be extracted.
Ext.define('MyApp.model.MyModel',{
extend : 'Ext.data.Model',
fields : [
... -
12 Sep 2012 7:56 AM
- Replies
- 1
- Views
- 178
That's because in IE the components are rendered in different way than on modern web browsers such as firefox or chrome.
In the case of the buttons, they are rendered (on IE) using a <table> and... -
11 Sep 2012 9:36 PM
Jump to post Thread: is extjs easy???? by crysfel
- Replies
- 6
- Views
- 544
It's very important to have a good knowledge of Object Oriented Programing before start using Ext, that will help you a lot!! ;)
-
14 Aug 2012 10:09 AM
Jump to post Thread: hyperlink by crysfel
- Replies
- 10
- Views
- 1,256
You should listen for the cellclick event of the grid and then evaluate if the link was clicked, something like this.
var grid = new Ext.grid.GridPanel({
//...
... -
13 Aug 2012 8:47 AM
Jump to post Thread: hyperlink by crysfel
- Replies
- 10
- Views
- 1,256
You can use the renderer property on the column configuration:
{
text : 'Testing',
dataIndex: 'something',
renderer : function(value){
return '<a href="'+value+'">This is a... -
13 Aug 2012 8:43 AM
Jump to post Thread: Xtype vs Create by crysfel
- Replies
- 8
- Views
- 1,457
You need to create a class for the grid that you want, after that you have to create two instances of that class and render those grids whatever you want. You can share the same store on both grids...
-
13 Aug 2012 8:31 AM
Jump to post Thread: icon in grid by crysfel
- Replies
- 3
- Views
- 504
The easiest way to do that is to set some HTML code into the text property on the column configuration, than listen the header click event and take some actions when the user click on each icon. You...
-
9 Aug 2012 8:29 PM
- Replies
- 5
- Views
- 749
Well... there are many errors on that code (:|
First of all I recommend you to define the window, grid, store and models in a separate files, not in one single file ;)
You should use the same... -
3 Aug 2012 1:17 PM
- Replies
- 2
- Views
- 665
Once you have your store of authors loaded and configured with the hasMany relationship, you will have for each record a store called books.
Now, in your grid you need to listen for the... -
3 Aug 2012 9:19 AM
- Replies
- 4
- Views
- 612
Try to use the 'vbox' layout instead of the 'fit' layout for the main container. The 'fit' layout only allows you to show one child at the time.
Regards
Results 1 to 25 of 120
