Search:

Type: Posts; User: Farish

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    44
    Views
    18,489

    [FIXED] I found the below code (not my own) helpful. It...

    I found the below code (not my own) helpful. It works in IE11, FF and Chrome. Dont have older versions of IE to test with. I am using ExtJS 4.2.0 for my application.

    ...
  2. 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", ...
  3. using same model fixed the issue? or you did...

    using same model fixed the issue? or you did something else?
  4. 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...
  5. 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...
  6. Replies
    1
    Views
    326

    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,...
  7. Replies
    4
    Views
    1,021

    you can define your columns like this: ...

    you can define your columns like this:



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

    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) {...
  9. Replies
    10
    Views
    1,293

    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...
  10. Replies
    10
    Views
    1,293

    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.
  11. Replies
    10
    Views
    1,293

    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.
  12. Replies
    10
    Views
    1,293

    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,
    ...
  13. Replies
    6
    Views
    569

    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...
  14. Replies
    6
    Views
    569

    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...
  15. Replies
    6
    Views
    569

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

    you can try calling a refresh on the chart's view. that might help.
  16. 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...
  17. 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...
  18. 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,...
  19. 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...
  20. Replies
    8
    Views
    1,672

    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...
  21. 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...
  22. Replies
    8
    Views
    1,672

    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...
  23. Replies
    8
    Views
    1,672

    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...
  24. 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...
  25. Replies
    8
    Views
    1,672

    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...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4