Search Type: Posts; User: paulharv

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    622
    I got it - combo.getStore().data.
    Thanks!
  2. Replies
    1
    Views
    622
    I have a Combobox in form.
    I want to get an array of the options in the Combo box.
    What's the best way to do that?

    I assumed there would be a nice combo.getOptions() method, or that I could get...
  3. A bit more info...

    For Tooltips created in the regular way, Ext.Tip#afterRender gets fired and it this that adds the close buitton if colsable is true.
    However, this event is never fired for...
  4. The docs and examples for Ext.QuickTips/Ext.ToolTip say of the closable config:
    "True to render a close tool button into the tooltip header"

    However, when the Tip is applied to a TreeNode this...
  5. I removed the typeAhead:true config from the ComboBox and the bahavior went away.
    (That's not right though!)
  6. I have a EditorGridPanel and columns with ComboBoxs.

    Just noticed that if I three options, say...
    Dog
    Cat
    Mouse
    ...and Mouse is the saved value, then when I click the dropdown, my field gets...
  7. Very odd one.

    I have a grid and so long as at least one of the columns has an Ext.form.TextField editor, edits to the grid result in store's beforewrite, beforesave events firing.

    However, if...
  8. I'm using EditorGridPanels on dynamically generated web pages. ExtJS does not control the ViewPort.

    When I wrap the Grid generation code in Ext.onReady(), the grids render perfectly.
    If I do not...
  9. Replies
    5
    Views
    1,549
    This does what I need...



    // add blank record to store (and this blank rows to grid)
    for(var i = (5 - storeCount); i > 0; i--) {
    var record = new...
  10. Replies
    5
    Views
    1,549
    Thanks. Is there support in ExtJS for removing records from the data object passed to beforesave?

    What I was going to look into was overriding Ext.data.Record.valid(). Is there a built-in way to...
  11. Replies
    5
    Views
    1,549
    Thanks very much - I considered that actually.
    My problem is that a row is invalid only if all cells are blank. Individual cells are allowed to blank...
  12. Replies
    5
    Views
    1,549
    When a store is set to autosave, is it possible to process the data object that gets passed to the beforesave event such that certain records within it can be prevented from getting saved to the...
  13. Thanks
    I gave it a whirl, but it seems a little buggy.
    I did...



    store.suspendEvents(false); //queueSuspended set ti false to prevent events from queing
    //... code to add records ......
  14. Hi,

    I need to populate a Grid with blank rows. I can do this, but because the store has autosave set to true and is restful, a PUT request gets fired for each blank row that I insert. This is not...
  15. Hi,

    Does anyone have/know of a working example of a moving rows within an EditorGridPanel (or know why it's not working for me)?
    I've found few examples, and the ones I've found use this...
  16. I would have thought the ability to move rows up and down would be build right in. There are evidently plugins for drag and drop to reorder rows.

    Can anyone suggest the best approach/point me to a...
  17. Hi,

    I'm implementing a menu option to move a row up/down.

    From what I've seen removing the row from the store and re-inserting it at the correct index is a pretty standard way to go.

    So in...
  18. Thanks,
    I tried



    field.setAnimation('slidein')
    field.show();

    but got an 'undefined' error
  19. It's a security thing. Your app is one domain and the webservice is in another - browsers don't allow cross domain scripting. The jsonp thing works by inserting a <script src="url to webservice"> tag...
  20. I've been looking at the docs on animation (Ext.anim etc) trying to figure out what I need to pass to Ext.form.TextArea.show() to get it animate. Nothing I've done has had an impact.

    The docs for...
  21. I'm closer.
    Ext.Component.query() returns an array of matched components, so I need to reference the first element...



    change:function(){
    var exField =...
  22. Thanks, but I'm afraid I still get the same result.
  23. change:function(){
    var exField = Ext.ComponentQuery.query('textareafield[name=myfield]');
    // next line outputs an object in the console which looks like the textareafield
    ...
  24. A bit more info - when I observe the result of calling theSubmitButton.up("timeentryform") in the console I can drill down to the values but they are buried in the returned object. And if I call...
  25. Posted this in the wrong forum...it was intended for Sencha Touch 2!
Results 1 to 25 of 101
Page 1 of 5 1 2 3 4