Search Type: Posts; User: Bogdan0x400
Search: Search took 0.03 seconds.
-
12 Oct 2011 7:41 AM
- Replies
- 1
- Views
- 412
triggerAction: 'all'This is the solution.
-
12 Oct 2011 7:04 AM
- Replies
- 1
- Views
- 412
I have a combobox with defined jsonstore. The jsonstore loads fine - I've checked it in "load" event of jsonstore. The problem is that combobox doesn't update the items itself, and I also can't find...
-
17 Jul 2011 5:21 AM
- Replies
- 2
- Views
- 841
ComboBox.valueField = "id";
ComboBox.displayField = "text";
ComboBox.store = new Ext.data.ArrayStore({autoDestroy: true, fields: ["id", "text"]});
then it works -
15 Jul 2011 9:19 AM
- Replies
- 2
- Views
- 841
I can see that if I lazily init the combo:
{"xtype":"combo","width":250,"fieldLabel":"my... -
15 Jul 2011 8:24 AM
- Replies
- 2
- Views
- 841
I have a structure with data for combobox like this:
var a = [[1,"text1"],[2,"text2"]]
I load it like this:
ComboBox.store.loadData(var a);
But when I have only 1 item in the array
var a =... -
17 Jun 2011 9:57 AM
Jump to post Thread: problem with tableform layout by Bogdan0x400
- Replies
- 2
- Views
- 592
Never mind, I've added a space control as the eighth control and it solved my problem.
-
16 Jun 2011 8:06 AM
Jump to post Thread: problem with tableform layout by Bogdan0x400
- Replies
- 2
- Views
- 592
I have a form with a tableform layout, and it's layoutConfig { columns:2 } . I have 7 controls on a form and an editorgrid in the bottom. Editorgrid has colspan : 2. When there are 8 controls at the...
-
19 May 2011 11:32 PM
- Replies
- 0
- Views
- 414
I have a combobox with ForceSelection=false (the user can input text that doesn't match any existing items). How do I pass this text to the server in a postback? I can see that the value gets passed,...
-
19 May 2011 5:53 AM
- Replies
- 2
- Views
- 1,140
The solution: set ForceSelection to false.
-
19 May 2011 5:30 AM
- Replies
- 2
- Views
- 1,140
The combobox has some items defined. So when I try to type in the combobox my custom value that is not present in the items list, the combobox text gets reset to the previously selected value. How...
-
28 Apr 2011 6:36 AM
Jump to post Thread: left margin of a checkbox by Bogdan0x400
- Replies
- 1
- Views
- 1,004
How to specify a left margin for a checkbox?
{
xtype: 'checkbox',
name: 'mycheckbox',
boxLabel: 'my checkbox',
hidden: true
} -
4 Mar 2011 7:53 AM
Jump to post Thread: get previous row by Bogdan0x400
- Replies
- 1
- Views
- 369
Actually, this approach worked fine, but if there are any other suggestions, then write them here ;) .
-
4 Mar 2011 7:04 AM
Jump to post Thread: get previous row by Bogdan0x400
- Replies
- 1
- Views
- 369
How to get the row which was selected before the rowclick event? Should I just store the previously selected row in a "private" variable?
-
4 Mar 2011 6:40 AM
Jump to post Thread: input value disappears by Bogdan0x400
- Replies
- 2
- Views
- 826
I have a textfield and a grid. The textfield displays different value depending on the selected row. But if I edit the textfield, and then click another row (In other words, the textfield doesn't...
-
1 Mar 2011 6:36 AM
- Replies
- 1
- Views
- 723
Never mind, I just directly add a new record to grid's store using the add method and it works just as I want it.
-
1 Mar 2011 5:22 AM
- Replies
- 1
- Views
- 723
I want my form with an editorgrid to be loaded with one new row. I pass it from the server and load it in the JsonStore using the data property, but it is loaded as a non-phantom and not dirty row....
-
25 Feb 2011 1:30 AM
- Replies
- 5
- Views
- 879
I was inserting the records incorrectly. I was inserting them like .add({ContactName:"aaa"},{ContactID:1}), and should have done it like .add({ContactName:"aaa"}, 1) . Now everything works fine.
-
25 Feb 2011 1:03 AM
- Replies
- 5
- Views
- 879
Maybe the idProperty shouldn't be defined directly in the JsonStore config? I don't see it in the list of available configuration options in the help reference.
Or maybe the records should be marked... -
24 Feb 2011 9:53 AM
- Replies
- 5
- Views
- 879
Actually, I am inserting a record to the store with the ID that I am searching for:
var r = new Ext.data.Record({SomeText:"some random text"},{iD:CurrentID});
AdditionalGridData.add(r);
This... -
24 Feb 2011 9:44 AM
- Replies
- 5
- Views
- 879
I've also tried:
var records = AdditionalGridData.query("iD", CurrentID+"", false, true);
but that also didn't help! -
24 Feb 2011 9:28 AM
- Replies
- 5
- Views
- 879
Read somewhere on the forums that:
you need to pass record id (f.e. "ext-record-1") to Store.getById instead of your data ID (f.e. "1");
Is this correct? Where do I get that record id? -
24 Feb 2011 9:14 AM
- Replies
- 5
- Views
- 879
I have a store which is defined something like this:
var AdditionalGridData = new Ext.data.JsonStore(
{ root: "result",
data: { result: Ext.decode(this.Data.AdditionalGridData)... -
24 Feb 2011 7:51 AM
- Replies
- 7
- Views
- 833
I have editing controls on my form for some rows of the editorgrid. The rows that are not edited will have empty values in their record data. But on the other hand, that doesn't take up much space.
-
24 Feb 2011 7:26 AM
- Replies
- 7
- Views
- 833
Yes, I understand this, but the jsonstore is defined in the editorgrid class, which I don't want to inherit. Besides, there will be blank extra fields for records which are not edited by additional...
-
24 Feb 2011 7:18 AM
- Replies
- 7
- Views
- 833
Because the grid is a class itself which I can not change because it will affect other code which already uses this grid. I can inherit from that grid, but to my opinion it is probably easier to...
Results 1 to 25 of 55
