Search Type: Posts; User: jarlau
Search: Search took 0.03 seconds.
-
23 Jun 2011 12:31 AM
Jump to post Thread: problem in Ext.PagingToolbar ! by jarlau
- Replies
- 6
- Views
- 1,966
load the store on grid render event.
-
23 Jun 2011 12:27 AM
Jump to post Thread: Button after a label by jarlau
- Replies
- 18
- Views
- 2,649
columnWidth option is needed in order to show items in the same row.
for further info read ColumnLayout api. -
23 Jun 2011 12:09 AM
Jump to post Thread: focusRow jumps back to top by jarlau
- Replies
- 3
- Views
- 653
Have a brief test and it could be done by first store the last selected index 'beforeload' and get back the index after 'load' with a little delay.
grid.store.on('beforeload',function(ds){... -
22 Jun 2011 5:27 PM
Jump to post Thread: event handler not working properly by jarlau
- Replies
- 1
- Views
- 577
use beforeexpandnode & expandnode listeners of TreePanel.
-
22 Jun 2011 5:13 PM
Jump to post Thread: focusRow jumps back to top by jarlau
- Replies
- 3
- Views
- 653
try use load event of store.
store.on('load', function(ds) {
// focus row here.
}); -
21 Jun 2011 7:58 PM
Jump to post Thread: Button after a label by jarlau
- Replies
- 18
- Views
- 2,649
cause the field not allow blank and x-form-invalid makes the background-color of compositefield to white. in this case you may want to use back aacoro's solution.
{
xtype: 'container',
... -
21 Jun 2011 6:11 PM
- Replies
- 5
- Views
- 1,604
I don't have 3.2.1 but I've tried on 3.2.0 and 3.2.2 grid examples without problem.
replace the array-grid.js in examples/grid
/*!
* Ext JS Library 3.2.2
* Copyright(c) 2006-2010 Ext JS,... -
20 Jun 2011 6:33 PM
Jump to post Thread: Grid Row Selection Based On Data by jarlau
- Replies
- 4
- Views
- 733
it can be tedious if we need to do it every time, but we can write a small plugin to do that.
-
20 Jun 2011 6:30 PM
- Replies
- 5
- Views
- 1,604
I tried that code, and it works for me.
-
20 Jun 2011 6:44 AM
Jump to post Thread: Grid Row Selection Based On Data by jarlau
- Replies
- 4
- Views
- 733
What is ColumnSelectionModel? Do you meant CheckboxSelectionModel?
read API selectRecords and selectRows for more information. -
20 Jun 2011 6:13 AM
Jump to post Thread: Button after a label by jarlau
- Replies
- 18
- Views
- 2,649
As my previous post mentioned, move the fieldLabel to upper level.
xtype: 'compositefield',
fieldLabel: 'Destinatário(s)',
items: [{
//fieldLabeld: 'Destinatário(s)',
... -
20 Jun 2011 2:42 AM
Jump to post Thread: Button after a label by jarlau
- Replies
- 18
- Views
- 2,649
From API:
-
20 Jun 2011 2:06 AM
- Replies
- 5
- Views
- 1,604
try:
var cell = grid.getView().getCell(7,9);
Ext.fly(cell).highlight("CCFF33", {attr: "background-color",duration: 5}); -
20 Jun 2011 1:43 AM
Jump to post Thread: Button after a label by jarlau
- Replies
- 18
- Views
- 2,649
or use compositefield?
-
20 Jun 2011 1:21 AM
- Replies
- 5
- Views
- 1,340
use firebug and set a breakpoint on the line:
Ext.getCmp('forooshande_id').setValue(company_id)
according to the ComboBox source code, the result list should be collapsed when stop at this... -
20 Jun 2011 12:57 AM
- Replies
- 5
- Views
- 1,340
ok. because onSelect is a private method which is not recommend to override.
it's better to use 'listeners' as below,
var search = new Ext.form.ComboBox({
store: ds,
... -
20 Jun 2011 12:51 AM
- Replies
- 2
- Views
- 851
Extjs does support '.' as dataIndex. but it's not safe to use because if any one row record has no such object(the a object in your case), the whole grid will crash.
To use it safer, I would use... -
20 Jun 2011 12:44 AM
- Replies
- 5
- Views
- 1,340
which one is the resultbar on your image?
btw, your onSelect method looks redundant.
onSelect: function(record){
var company_id = String.format('{0}', record.data.id);
... -
17 Jun 2011 5:39 PM
Jump to post Thread: Grid not rendering by jarlau
- Replies
- 3
- Views
- 657
You should use JsonStore instead of ArrayStore, but your JSON return isn't correct too.
should be:
{
"roots": [{id: 1, ....}, {id: 2, ....}, {id: 3, ....}],
"total": 20
} -
17 Jun 2011 2:08 AM
Jump to post Thread: How to upload a file with Ajax? by jarlau
- Replies
- 2
- Views
- 675
read FormPanel API, and fileUpload config.
-
17 Jun 2011 2:00 AM
- Replies
- 2
- Views
- 1,116
try remove triggerAction: 'all' in combo2.
-
16 Jun 2011 1:25 AM
- Replies
- 2
- Views
- 430
load your grid store with new params when submit the form.
something like:
{
text: 'Submit',
handler: function() {
visitationStore.load({params: {addr2:... -
16 Jun 2011 1:14 AM
Jump to post Thread: ajax module by jarlau
- Replies
- 10
- Views
- 1,049
http://www.sencha.com/products/extjs3/
and
http://www.sencha.com/products/jsbuilder -
10 Jun 2011 6:10 PM
Jump to post Thread: ajax module by jarlau
- Replies
- 10
- Views
- 1,049
then you need to modify ext.jsb2 which is under the root folder(e.g. ext-3.3.1/) to build a new ext-all.js by jsbuilder2.
-
9 Jun 2011 2:49 AM
Jump to post Thread: ajax module by jarlau
- Replies
- 10
- Views
- 1,049
cause Ext.LoadMask is not ext core's class. it's extjs' class.
make sure what you want to do first. and visit http://www.sencha.com/products/extcore/ & http://www.sencha.com/products/extjs/ to...
Results 1 to 25 of 120
