Search:

Type: Posts; User: paulharv

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Auto-expand GridPanel cells to display all content

    When cells in an ExtJS GridPanel or EditorGridPanel contain more data than they can display, users have to resize columns.
    Is there a way to have the GridPanel automatically expand the width and...
  2. Replies
    1
    Views
    820

    I got it - combo.getStore().data. Thanks!

    I got it - combo.getStore().data.
    Thanks!
  3. Replies
    1
    Views
    820

    Get a ComboBox's options

    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...
  4. Qu

    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...
  5. Quicktip closeable:true has no impact when target is TreeNode

    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...
  6. Replies
    1
    Views
    656

    I removed the typeAhead:true config from the...

    I removed the typeAhead:true config from the ComboBox and the bahavior went away.
    (That's not right though!)
  7. Replies
    1
    Views
    656

    Combobox in grid - strange behavior

    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...
  8. Grid with all NumberField editors doesn't update the store

    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...
  9. Replies
    1
    Views
    986

    GridPanel not rendering correctly

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

    This does what I need... // add blank...

    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...
  11. Replies
    5
    Views
    1,938

    Thanks. Is there support in ExtJS for removing...

    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...
  12. Replies
    5
    Views
    1,938

    Thanks very much - I considered that actually. ...

    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...
  13. Replies
    5
    Views
    1,938

    Reject individual records saving

    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...
  14. Thanks I gave it a whirl, but it seems a little...

    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 ......
  15. Initialize EditorGridPanel with blank rows

    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...
  16. Moving rows up and down in an EditorGridPanel

    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...
  17. Replies
    1
    Views
    597

    I would have thought the ability to move rows up...

    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...
  18. Replies
    1
    Views
    597

    Trying to move row in EditorGridPanel

    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...
  19. Replies
    3
    Views
    1,510

    Thanks, I tried ...

    Thanks,
    I tried



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

    but got an 'undefined' error
  20. It's a security thing. Your app is one domain and...

    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...
  21. Replies
    3
    Views
    1,510

    How to animate unhiding of a field

    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...
  22. Replies
    4
    Views
    842

    I'm closer. Ext.Component.query() returns an...

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



    change:function(){
    var exField =...
  23. Replies
    4
    Views
    842

    Thanks, but I'm afraid I still get the same...

    Thanks, but I'm afraid I still get the same result.
  24. Replies
    4
    Views
    842

    Can't get handle to field in form

    change:function(){
    var exField = Ext.ComponentQuery.query('textareafield[name=myfield]');
    // next line outputs an object in the console which looks like the textareafield
    ...
  25. A bit more info - when I observe the result of...

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