Search:

Type: Posts; User: coshmos

Search: Search took 0.12 seconds.

  1. Replies
    2
    Views
    1,901

    You can use "inputEl" of a component to change...

    You can use "inputEl" of a component to change it's name. For example: someTextfield.inputEl.dom.name = 'new name'.
  2. [CLOSED] A chart with a buffered store doesn't rendered

    REQUIRED INFORMATION


    Ext version tested:

    Ext 4.2.1
    Ext 4.2.0
    Browser versions tested against:

    Chrome (Windows)
  3. I changed the logic. Additionally send an Id of a...

    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...
  4. Yes, I understand that. So, if I clearly...

    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?
  5. ExtJS paged combo with remote JSON store. Display selected value with paging

    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...
  6. Done! this.store.proxy.on('exception',...

    Done!


    this.store.proxy.on('exception', function (proxy, response, operation) {
    if (autoUpdateTask)
    Ext.TaskManager.stop(autoUpdateTask);
    var emptyText = 'Error: ' +...
  7. Ok. The EmptyText doesn't appear because I've got...

    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...
  8. I add a listener through store proxy events and...

    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:...
  9. Set an empty text to grid if store has an exception

    Hi.

    I've got the panel



    Ext.create('Ext.grid.Panel', {
    title: 'Simpsons',
    store: Ext.data.StoreManager.lookup('simpsonsStore'),
    columns: [{
  10. Replies
    3
    Views
    14,722

    Nothing happened and Chrome's JS console shows...

    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.
  11. Replies
    3
    Views
    14,722

    Display an image in grid column

    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:...
  12. Replies
    3
    Views
    1,592

    Done. By adding listener. Thanks. ...

    Done. By adding listener. Thanks.


    quantityInput.listeners = {
    change: {
    fn: function (x, y, z) {
    alert('Changed');
    }
    }
    };
  13. Replies
    3
    Views
    1,592

    Could you provide an example of assigning...

    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...
  14. Replies
    3
    Views
    1,592

    Add event to input

    Hi.

    I create number inputs by the way described below:



    var quantityInput = this.createNumberInput('Quantity', 'QuantityLabel', 0, 0, 100);


    createNumberInput: function (name, label,...
  15. Problem was solved. First I should decode...

    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.
  16. How to send JSON data to variable from Ext.Ajax.request?

    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:...
  17. Replies
    4
    Views
    2,196

    Thanks! It's better than my: ...

    Thanks! It's better than my:


    cellEditing.on('edit', function (x, y, z) {
    var i = 0;
    var totalAmount = 0;
    store.each(function (x) {
    ...
  18. Replies
    4
    Views
    2,196

    Thanks!

    Thanks!
  19. Replies
    4
    Views
    2,196

    Count total amount of items

    Hello everyone, I'm novice in ExtJS.

    I've got a grid with 2 columns.


    Product
    Amount


    Apple
Results 1 to 19 of 19