Search Type: Posts; User: coshmos
Search: Search took 0.02 seconds.
-
17 Dec 2012 1:41 AM
- Replies
- 3
- Views
- 309
I changed the logic. Additionally send an Id of a combobox value, after that set extraProxyParams with this Id and load the store. Clean the extraProxyParams after that. So after a user searching for...
-
14 Dec 2012 10:38 PM
- Replies
- 3
- Views
- 309
Yes, I understand that. So, if I clearly understand, there is no way to store this item in ExtJS and I should use combination of backend and frontend?
-
12 Dec 2012 10:34 PM
- Replies
- 3
- Views
- 309
I've got an ExtJS combo with remote store, which returns to me data in JSON format. When I select a value on the first page (for example) and then navigate to another page, the combo display selected...
-
30 Nov 2012 11:14 PM
- Replies
- 4
- Views
- 581
Done!
this.store.proxy.on('exception', function (proxy, response, operation) {
if (autoUpdateTask)
Ext.TaskManager.stop(autoUpdateTask);
var emptyText = 'Error: ' +... -
30 Nov 2012 10:35 PM
- Replies
- 4
- Views
- 581
Ok. The EmptyText doesn't appear because I've got dirty data. So, I just add a dummy row and then remove all rows. Not a good code, but it's working.
this.store.proxy.on('exception', function... -
30 Nov 2012 2:10 AM
- Replies
- 4
- Views
- 581
I add a listener through store proxy events and it works:
this.store.proxy.on('exception', function (proxy, response, operation) {
me.emptyText = 'Error: ' + response.statusText + '<br/>Code:... -
26 Nov 2012 4:09 AM
- Replies
- 4
- Views
- 581
Hi.
I've got the panel
Ext.create('Ext.grid.Panel', {
title: 'Simpsons',
store: Ext.data.StoreManager.lookup('simpsonsStore'),
columns: [{ -
9 May 2012 10:33 PM
Jump to post Thread: Display an image in grid column by coshmos
- Replies
- 2
- Views
- 1,242
Nothing happened and Chrome's JS console shows this error:
Uncaught TypeError: Cannot read property 'dom' of undefined
UPDATE: Done, I've got wrong url. Thanks. -
5 May 2012 6:41 AM
Jump to post Thread: Display an image in grid column by coshmos
- Replies
- 2
- Views
- 1,242
Hi, everyone.
I made a grid and need to display an image for every record in one of the column.
A grid are made this way:
var grid = Ext.create('Ext.grid.Panel', {
id:... -
3 May 2012 10:29 PM
Jump to post Thread: Add event to input by coshmos
- Replies
- 3
- Views
- 593
Done. By adding listener. Thanks.
quantityInput.listeners = {
change: {
fn: function (x, y, z) {
alert('Changed');
}
}
}; -
3 May 2012 9:56 PM
Jump to post Thread: Add event to input by coshmos
- Replies
- 3
- Views
- 593
Could you provide an example of assigning listener, because I clearly don't understand what I should write, because I don't create numberInput by the standard method. So, should I write something...
-
3 May 2012 2:23 AM
Jump to post Thread: Add event to input by coshmos
- Replies
- 3
- Views
- 593
Hi.
I create number inputs by the way described below:
var quantityInput = this.createNumberInput('Quantity', 'QuantityLabel', 0, 0, 100);
createNumberInput: function (name, label,... -
28 Apr 2012 3:07 AM
- Replies
- 1
- Views
- 925
Problem was solved.
First I should decode response to Object by Ext.decode and use x.responseText then if I want clear data I should use Ext.encode to get them. -
28 Apr 2012 2:13 AM
- Replies
- 1
- Views
- 925
Hello everyone.
I want to get data in JSON format, parse them to variable and use it variable later.
I'm trying something like this:
var fruitDisplay;
Ext.Ajax.request({
url:... -
26 Apr 2012 10:07 PM
Jump to post Thread: Count total amount of items by coshmos
- Replies
- 4
- Views
- 863
Thanks! It's better than my:
cellEditing.on('edit', function (x, y, z) {
var i = 0;
var totalAmount = 0;
store.each(function (x) {
... -
26 Apr 2012 10:06 PM
Jump to post Thread: Count total amount of items by coshmos
- Replies
- 4
- Views
- 863
Thanks!
-
26 Apr 2012 5:37 AM
Jump to post Thread: Count total amount of items by coshmos
- Replies
- 4
- Views
- 863
Hello everyone, I'm novice in ExtJS.
I've got a grid with 2 columns.
Product
Amount
Apple
Results 1 to 17 of 17
