Search Type: Posts; User: sriram139
Search: Search took 0.02 seconds.
-
10 Feb 2013 12:19 PM
- Replies
- 5
- Views
- 339
Dataview is a component that can display a list of data models:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.view.View
You must be having a dataview component inside your userlist view. -
9 Feb 2013 11:29 AM
- Replies
- 4
- Views
- 252
See if this will be helpful:
{
text: 't',
renderer : function(value, metaData, record, colIndex, store, view)
{
metaData.tdAttr = 'data-qtip="Hii"';
... -
8 Feb 2013 2:44 PM
- Replies
- 5
- Views
- 339
That's very simple:
useredit is an xtype of one of the views, i.e. mentioned as alias: 'widget.useredit'
followed by any descendant components can be mentioned with their type/xtypes/itemIds etc...... -
8 Feb 2013 2:38 PM
- Replies
- 2
- Views
- 257
You can go to your EXTJS bundle, and access below html which will make it clear about all the parameters that control this:
examples/grid/infinite-scroll-grid-tuner.html.
Here is the link to... -
8 Feb 2013 9:08 AM
Jump to post Thread: Form loadRecord Very Slow by sriram139
- Replies
- 4
- Views
- 576
The slowness is because of 'displayfield' type.
If you try to change it to any input field, it will be faster. Try and see.
This can be mainly due to the call to 'updateLayout()' in setRawValue()... -
8 Feb 2013 9:02 AM
- Replies
- 1
- Views
- 203
I think this one will help you:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext-method-override -
8 Feb 2013 8:48 AM
- Replies
- 4
- Views
- 252
You need to update span's metadata and set the attribute data-qtip to the new value.
Some thing like this:
metadata.attr = 'data-qtip="' + value + '"';
Since I am not sure on which event... -
7 Feb 2013 12:32 PM
- Replies
- 2
- Views
- 580
1) Try: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.panel.Panel-cfg-html
2) From panel:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.panel.Panel-method-isAncestor
... -
7 Feb 2013 12:23 PM
- Replies
- 3
- Views
- 226
You may want to try using itemId instead of 'id'.
Thanks,
Sriram -
7 Feb 2013 12:05 PM
- Replies
- 1
- Views
- 97
This might be helpful:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.ux.grid.FiltersFeature-method-getFilterData
Regards,
sriram -
6 Feb 2013 12:38 PM
Jump to post Thread: get a row from a grid by sriram139
- Replies
- 3
- Views
- 208
I think getNode() is what you are looking for.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.view.Table-method-getNode
Try printing this HTLMElement and you can see complete row element that is... -
6 Feb 2013 11:36 AM
Jump to post Thread: 2 grid questions by sriram139
- Replies
- 2
- Views
- 88
1) Use: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.grid.column.Column-cfg-tdCls
2) Use: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.selection.RowModel-cfg-mode -
5 Feb 2013 2:34 PM
- Replies
- 3
- Views
- 452
Try setting the config 'ui' as blank, which will make sure that .x-nlg .x-toolbar-default doesnt get applied to your toolbar.
Ext.define('MyToolbar', {
extend : 'Ext.toolbar.Toolbar',
... -
5 Feb 2013 9:28 AM
- Replies
- 3
- Views
- 179
Nested config is the issue here.
If you try below code, it will work fine where config has value directly, without any sub fields in it.
Ext.define('Test.view.NewGrid', {
extend:... -
5 Feb 2013 8:54 AM
- Replies
- 1
- Views
- 322
itemId: (Recommended) HTML element's ID is automatically generated to ensure uniqueness, usually by concatenating ID of the container hierarchy. Programmer only need to ensure ID is unique within...
-
5 Feb 2013 8:47 AM
Jump to post Thread: problems with layout:'vbox'. by sriram139
- Replies
- 2
- Views
- 202
You must have center panel, which is mandatory for any border layout.
And also specify width for the 'west' region.
Sample code working with your own example:
var... -
5 Feb 2013 8:38 AM
Jump to post Thread: Date as day, month, year fields by sriram139
- Replies
- 2
- Views
- 383
This might help:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Field-cfg-serialize
Thanks,
Sriram -
5 Feb 2013 8:34 AM
Jump to post Thread: Indentation practice by sriram139
- Replies
- 2
- Views
- 158
There are multiple ways one can indent their code, two of them that are commonly used styles are as below:
1) Start the block on same line with open brace following the last character of that... -
4 Feb 2013 7:36 AM
- Replies
- 4
- Views
- 483
One of the below approaches might help:
1) Fire an event from the handler of save button, say this.fireEvent('saveform'); and control it in controller as below:
'button[action=save]' :
{... -
4 Feb 2013 7:07 AM
- Replies
- 4
- Views
- 276
You might want to extend your column with this:
http://skirtlesden.com/ux/component-column -
4 Feb 2013 6:59 AM
- Replies
- 2
- Views
- 174
Refer below config which can do that:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.Field-cfg-serialize -
1 Feb 2013 2:54 PM
- Replies
- 1
- Views
- 203
Try setting padding and margin configs in the panels.
Sample working code:
Ext.onReady(function () {
Ext.create('Ext.panel.Panel', {
title: 'Table Layout',
width: 300,
... -
1 Feb 2013 2:49 PM
- Replies
- 3
- Views
- 349
You can try adding html text field to the column text as below:
columns: [{
text: 'Name <input type=text/>',
dataIndex: 'name'
} -
1 Feb 2013 2:45 PM
- Replies
- 2
- Views
- 629
You need to access labelEl of the textfield and set the opacity on that element.
Here is the sample working code:
Ext.onReady(function () {
var panel =Ext.create('Ext.form.Panel', {
... -
1 Feb 2013 12:45 PM
- Replies
- 3
- Views
- 443
There are three things here:
1) Typo in Store definition: HelloEx.store.myStore
2) There is no models config in Store API. It must be model it accepts only one model.
3) You must check the APIs...
Results 1 to 25 of 31
