Search Type: Posts; User: Chao

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Ext Version : 4.0.7

    Browser : Chrome 15.0.874.121 m

    Description :
    When we do a text search (Ctrl+F), the supposedly hidden elements are shown again, which messes up the layout.

    Step to...
  2. Replies
    3
    Views
    1,606
    I didn't go with the UI option because I realized not all of the variables were configurable in the .scss anyways.
    Instead, I just overwrote the corresponding CSS classes in the final HTML that is...
  3. try changing the store type to 'rest' instead of 'ajax'? I am not sure, just guessing
  4. Thanks for the reply

    What I was looking for is actually Ext.data.Field.persist = false
  5. By default if I call store.sync() all the fields in the modified record would be sent, but what if one of the fields is for display only? I don't want to synchronize that field with the server...
  6. I have a RESTful proxy set up with a Ext.data.Store


    proxy : {
    type : 'rest',
    url : 'productsHandler',
    reader : {
    type : 'json',
    root : 'products'
    }
  7. I don't think grids supports UI mixin yet. I guess you are right, I will keep using this work around until I can create UI mixins for the other controls.

    thanks
  8. Thanks for the reply, but what if I only want to change the style of one grid? Creating a theme would change the appearances of all grids to my understanding.
  9. I see, is it possible to not hard code the class name ".x-panel-body"? leveraging the scss feature in extjs 4.0?

    thanks
  10. so would you overwrite the default css classes in your external CSS? say ".x-panel-header"?
  11. Bump,

    Everybody's using default EXTJS styles?
  12. I can't seem to figure this one out, please help me out.

    What do you do When you want to tweak styles that the API didn't leave a hook for? Such as the background color of a grid header?

    Do...
  13. bump a little
  14. I am trying to create a new UI for my Panel, so I can assign the new UI to my panel's "ui" property to get a new look.

    However I can't find this property $panel-header-line-height in the @mixin...
  15. Replies
    4
    Views
    928
    I would use a renderer for specific cell styles.

    check Ext.grid.column.Column's renderer config properties for how to use it, the inline example is pretty good.
  16. Replies
    3
    Views
    1,606
    How do I go about creating a new UI for a grid in ExtJS 4?

    In the Theming tutorial there is a section for creating a new UI for panels and when I go to _panel.scss I see @mixin variables like...
  17. Replies
    3
    Views
    1,996
    Thanks for the reply.

    So what is the rule of thumb when it comes to styling my controls? Why is that changing a border is a simple configuration but changing header background requires a new UI?...
  18. Replies
    3
    Views
    1,996
    I personally think the ways to style an ExtJS control are somewhat inconsistent. This could be because I am not a master of ExtJS yet, so any education/hints/bashing/slap in the face is welcome,...
  19. Replies
    4
    Views
    976
    stevil,

    that seems like a very nice rule of thumb actually, thanks! So if I define my width and height in an external CSS file, the EXTJS layout engine might have trouble resizing my controls?
  20. Replies
    4
    Views
    976
    bump
  21. Replies
    4
    Views
    976
    I don't know if this is a problem, but I am looking for advises on the best practice for styling ExtJs controls.

    Most ExtJs controls come with certain configuration variables for setting the...
  22. hmmmm, i think i have a solution but i don't know if that's the one you want.

    when i was creating a new theme, i modified the header height by changing this variable:
    ...
  23. Also check your chrome developer console to make sure there is indeed no error in chrome, I find chrome a lot more "forgiving" than IE, sometimes it will just display an error in the console unlike a...
  24. Replies
    9
    Views
    9,101
    actually with Ext4 you can do this to center the items in the toolbar:


    layout : {
    type : 'hbox',
    pack : 'center'
    }
  25. Thank you guys!
Results 1 to 25 of 36
Page 1 of 2 1 2