Search:

Type: Posts; User: chramer

Page 1 of 12 1 2 3 4

Search: Search took 0.02 seconds.

  1. Grid view empty text does not have wrapping markup when set using bind

    Hello,

    I have noticed that when binding the grid's view emptyText config to viewmodel data, the text does not get wrapped in markup.

    Here is the test case:
    2060

    In the "Grid 1" the empty...
  2. I don't think "Ext.Array.insert" will work here....

    I don't think "Ext.Array.insert" will work here. You should use store's add method.
  3. Ok! Than the load event should work.. What do you...

    Ok! Than the load event should work.. What do you mean by "I tried the load event but looks like it is called after the store is updated."?
  4. Take a look at the calculate...

    Take a look at the calculate example:


    fields: [{
    name: 'firstName',
    type: 'string'
    },{
    name: 'lastName',
    type: 'string'
    },{
  5. The expansion icons are rendered in a special...

    The expansion icons are rendered in a special column, with the config defined in the getHeaderConfig method (last method from the class definition) of the RowExpander plugin class (the parent class...
  6. You can use the calculate...

    You can use the calculate config of model fields..
  7. Replies
    1
    Views
    157

    When creating a custom picker component you...

    When creating a custom picker component you should always extend the Ext.form.field.Picker class. The problem in your case arises because the combobox has boundlist component by default configured as...
  8. Go to the...

    Go to the "classic/src/view/main/MainContainerWrap.js" and replace


    align: 'stretchmax',

    with


    align: 'stretch',
  9. Wait, there seems to be a misunderstanding here....

    Wait, there seems to be a misunderstanding here.
    Here is the fiddle again: https://fiddle.sencha.com/#view/editor&fiddle/1r36.

    The data should be in a <p> tag because this is what your template...
  10. Ok, it seems that happens because of the data...

    Ok, it seems that happens because of the data config of the dataview. When using a store config everything works as expected. So I came up with a solution that uses a chained items store which is...
  11. Here is how I got it working:...

    Here is how I got it working: https://fiddle.sencha.com/#view/editor&fiddle/1qvk.
    I've created a formulas that returns an array of selected combo records, and then used it as data for the dataview....
  12. The process of solving a string method name to an...

    The process of solving a string method name to an actual function is reffered to as listener scope resolution. Here is an excerpt from a sencha blog post that will help you understand this issue:

    ...
  13. What is the error message that you are getting?

    What is the error message that you are getting?
  14. There is the autoSize...

    There is the autoSize method for grid columns that does this. So you your case, after setting the columns, you must do something like this:


    Ext.Array.forEach(myGrid.getColumns(),...
  15. Replies
    4
    Views
    226

    I had some issues with toasts when trying to pop...

    I had some issues with toasts when trying to pop them up immediately after closing a window. It would show below the visible area of the viewport. Maybe you have a similar issue, somehow layout...
  16. Why the grid controller should be responsible for...

    Why the grid controller should be responsible for the window's action? Why not create a separate controller for the window?
  17. Replies
    4
    Views
    226

    Can you create a fiddle...

    Can you create a fiddle that reproduces this issue?
  18. Replies
    5
    Views
    288

    When you set the initial value to new Date(),...

    When you set the initial value to new Date(), when formatting the date, it's easy do determine the year, week number, and week day. Ext will eventually use formatCodes. So you can see here, that for...
  19. That is odd! Good to know you've made it..

    That is odd! Good to know you've made it..
  20. Replies
    5
    Views
    176

    You mean that you want to have the listener...

    You mean that you want to have the listener function defined in the controller?
  21. There is a lot going on here, so there might be...

    There is a lot going on here, so there might be some timing issue that prevents the "selectOnFocus" config from behaving as expected.
    I got it working by using a deferred call to "selectText" on...
  22. What do you get in the "name" variable before...

    What do you get in the "name" variable before calling "setDisabled"? It seems that your query is not getting the component. Could you create a https://fiddle.sencha.com/ that reproduces this issue?
  23. Replies
    5
    Views
    176

    1. use the trackStyle...

    1. use the trackStyle and valueStyle configs


    trackStyle: {
    fill: '#fcc419'
    },
    valueStyle: {
    fill: '#ff6b6b'
    }
  24. Replies
    2
    Views
    289

    Add this to your grid store config: bind: {...

    Add this to your grid store config:


    bind: {
    data: '{voucher_detail}'
    }
  25. Replies
    2
    Views
    120

    Are you trying to save the initial layout, or the...

    Are you trying to save the initial layout, or the layout at any given point in time?
Results 1 to 25 of 296
Page 1 of 12 1 2 3 4