Search Type: Posts; User: Farish

Page 1 of 5 1 2 3 4

Search: Search took 0.09 seconds.

  1. 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 something else?
  3. 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 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
    175
    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:



    {
    text: "<input type='checkbox'> Header1", dataIndex: 'name', sortable: false,
    listeners: {
    ...
  7. 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. 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. 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. 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. 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. 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. 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. you can try calling a refresh on the chart's view. that might help.
  15. 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 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 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 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. 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. 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. 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. 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. 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. 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 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 118
Page 1 of 5 1 2 3 4