Search Type: Posts; User: coshmos

Search: Search took 0.02 seconds.

  1. 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...
  2. 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?
  3. 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...
  4. Done!


    this.store.proxy.on('exception', function (proxy, response, operation) {
    if (autoUpdateTask)
    Ext.TaskManager.stop(autoUpdateTask);
    var emptyText = 'Error: ' +...
  5. 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...
  6. 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:...
  7. Hi.

    I've got the panel



    Ext.create('Ext.grid.Panel', {
    title: 'Simpsons',
    store: Ext.data.StoreManager.lookup('simpsonsStore'),
    columns: [{
  8. 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.
  9. 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:...
  10. Replies
    3
    Views
    593
    Done. By adding listener. Thanks.


    quantityInput.listeners = {
    change: {
    fn: function (x, y, z) {
    alert('Changed');
    }
    }
    };
  11. 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...
  12. 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,...
  13. 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.
  14. 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:...
  15. 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) {
    ...
  16. Replies
    4
    Views
    863
    Thanks!
  17. 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