Search:

Type: Posts; User: Farish

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. how about something like this? var store =...

    how about something like this?



    var store = Ext.create('Ext.data.Store', {
    fields:['name', 'email', 'phone'],
    data:
    [
    { 'name': 'Lisa', "email":"lisa@simpsons.com", ...
  2. using same model fixed the issue? or you did...

    using same model fixed the issue? or you did something else?
  3. dont know what could be causing it. it would be...

    dont know what could be causing it. it would be easier if you could create a JS Fiddle or Sencha Fiddle.

    one thing you could try is to use the same model for the stores of both grids. in your...
  4. when the user clicks the open window button, you...

    when the user clicks the open window button, you can pass the selected records from 1st grid as argument to the function which creates the window and load them into the store there. you can get...
  5. Replies
    1
    Views
    306

    flex property causes the column to take any space...

    flex property causes the column to take any space which is left over by the other columns. so if you have 2 columns with width: 80 and one with flex:1, if the total width of the grid panel is 200,...
  6. you can define your columns like this: ...

    you can define your columns like this:



    {
    text: "<input type='checkbox'> Header1", dataIndex: 'name', sortable: false,
    listeners: {
    ...
  7. Replies
    10
    Views
    1,173

    use console.log() to print out debug messages or...

    use console.log() to print out debug messages or values of variables/components etc. this way you will know where the error occurs. e.g.


    onPageSizeChanged: function (combo) {...
  8. Replies
    10
    Views
    1,173

    yes i understand what you are trying to do. which...

    yes i understand what you are trying to do. which part of your code isnt working is not clear. it would be best if you could create a sencha fiddle or jsfiddle. also, compare your code with mine and...
  9. Replies
    10
    Views
    1,173

    either I am not understanding your problem or you...

    either I am not understanding your problem or you are not understanding what I am saying. With the example code I posted above, you should be able to change your code.
  10. Replies
    10
    Views
    1,173

    what do you mean by pageSize plugin? pageSize is...

    what do you mean by pageSize plugin? pageSize is a config of store. you can take a look at how I have added listener to the combo and using the value on select event to change pageSize.
  11. Replies
    10
    Views
    1,173

    dont know what the problem is in your code but...

    dont know what the problem is in your code but you can try adding the listeners while creating the combo itself. here is how I do it:


    Ext.create('Ext.PagingToolbar', {
    store: store,
    ...
  12. Replies
    6
    Views
    553

    the store loads data asynchonously i.e. the code...

    the store loads data asynchonously i.e. the code execution doesnt stop while data is being loaded from the backend and the redraw is probably called before new data from the backend gets into the...
  13. Replies
    6
    Views
    553

    try this: performanceChart.redraw(); ...

    try this:


    performanceChart.redraw();

    after you have loaded the store with data. if you are loading the data not from an array but from backend, then you have to add a listener to the load...
  14. Replies
    6
    Views
    553

    you can try calling a refresh on the chart's...

    you can try calling a refresh on the chart's view. that might help.
  15. just to add if someone else is looking for...

    just to add if someone else is looking for similar issues. select() works but it doesnt fire the itemclick event. so in case you have a listener for itemclick and want to trigger that also, you can...
  16. thanks for the help. unfortunately it still...

    thanks for the help. unfortunately it still occurs. Its the combination of update with datefield (and possibly other components) which causes this problem. If I change the order or update and...
  17. your solution works! changing the order causes...

    your solution works! changing the order causes the exception to disappear in IE. But I guess I will use the suggestion provided by the Sencha Team member. If I enclose the HTML inside a container,...
  18. thanks for the reply. I tried it with your fiddle...

    thanks for the reply. I tried it with your fiddle but again, i couldnt reproduce the error. But it still wasnt working with my code. So I played around a little bit and found out that its a...
  19. Replies
    8
    Views
    1,631

    I discovered that the error I was getting in IE...

    I discovered that the error I was getting in IE was not because of removeAll(); it was because of update()! I had some HTML in the panel and i was calling panel.update(""); to clear it before calling...
  20. thanks a lot for your reply and for the fiddle....

    thanks a lot for your reply and for the fiddle. sorry wasnt able to reply earlier because I was away for a few days.

    I tested with your fiddle and discovered that removeAll is working fine. the...
  21. Replies
    8
    Views
    1,631

    yes it is a different scenario but the main...

    yes it is a different scenario but the main problem behind this error is that IE8 and upwards doesnt support removeEventListener and addEventListener which are used by ExtJS 4.2.x and hence this...
  22. Replies
    8
    Views
    1,631

    Hi Thomas, thanks for the quick reply! Let...

    Hi Thomas,

    thanks for the quick reply!

    Let me elaborate my scenario. I have a main panel which is rendered to Ext.getBody(). this panel has border layout with a tree as east region (which...
  23. err IE with removeAll() Object doesn't support property or method removeEventLisener

    Hi,

    I am using ExtJS 4.2.0 in IE9. I have a panel in which I add components based on user selection from a menu and before adding new components, I call removeAll() to remove the existing...
  24. Replies
    8
    Views
    1,631

    Hi, sorry for posting on an old thread. I am...

    Hi,

    sorry for posting on an old thread. I am facing the same problem in ExtJS 4.2. Did you or anyone else manage to find a solution?

    I have a panel which is the center region in a border...
  25. one way of doing it is to use a radiogroup...

    one way of doing it is to use a radiogroup instead of container xtype. radiogroup has a reset method which resets the button to the initial config. you can use


    form.down('radiogroup').reset();...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4