Search:

Type: Posts; User: Jack9

Page 1 of 8 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: Prototype.js

    by Jack9
    Replies
    1
    Views
    744

    [INFOREQ] Prototype.js

    Using prototype.js with ExtJS3 and ExtJS4, has proven to be troublesome for me.

    In both the ExtJS3 adapter (coming from the getDom method) and the ExtJS4 addListener, I see ExtJS trying to add...
  2. Replies
    0
    Views
    1,087

    10 minute ListBehave plugin

    I really hate lists that are elastic for no reason.


    Usage:

    new Ext.List({
    ...
    plugins:[
    new Ext.ux.ListBehave({pinTop:true,pinBot:true})
    ]
  3. Replies
    2
    Views
    1,327

    setActiveItem(obj,false); does not work. If you...

    setActiveItem(obj,false); does not work. If you look at the source, it expects a cardanimation or it defaults to the tabpanel's defaultanimation. This means, you can't have a default animation on a...
  4. Replies
    2
    Views
    1,327

    Overriding TabPanel Animation

    I have a tabpanel with a default animation of "slide"
    I want to be able to change to a panel in the tabpanel with NO animation. How can I do that through setActiveItem? The cardanimation object...
  5. Replies
    17
    Views
    2,784

    I can't know what you're thinking

    ^
    |
    That one
  6. Stores don't enforce any type of data structure....

    Stores don't enforce any type of data structure. The reader decides what data format it will accept. Models, conversely, do enforce a data structure (regardless of format).

    I don't know why a...
  7. Add the following listeners to your tab panel....

    Add the following listeners to your tab panel. This example says "don't show more than the first 5 items as tabs, even if I add more".


    ...
    listeners:{
    afterRender:function(){
    var...
  8. Wrapping something up in PhoneGap requires a...

    Wrapping something up in PhoneGap requires a simple Javascript wrapping function around the Ext.Setup({...}) and XCode to build it (for iPhone). Don't worry about that. That's the easy part.
    ...
  9. Replies
    17
    Views
    2,784

    That's fancy! Since you're working with...

    That's fancy!

    Since you're working with centralized data, can't you put it in a singleton? window.my.name.space.mydata = data; then have stores both reference it?
  10. There is no JSON.stringify. If you specify a...

    There is no JSON.stringify. If you specify a JSONReader, it expects your server to have sent you valid JSON.

    This is not valid JSON:


    {
    EMPLOYEES:[
    {
    ID:115,
    ...
  11. Wa wa waaa

    You cannot cover javascript popups. You can cover Ext.messages. You are restricted by HTML/javascript/CSS



    <script type="text/javascript">
    Ext.setup({
    tabletStartupScreen:...
  12. Post an example object and how you are trying to...

    Post an example object and how you are trying to load it. I'm not sure how or why you would "send" a javascript object.

    Maybe you should look at:

    http://www.json.org/js.html
  13. Replies
    17
    Views
    2,784

    In the case of lists that can be tapped for...

    In the case of lists that can be tapped for details+comments (or whatever) I tend to chain the detail page store and comment store together using the load listener in the detail page store to check...
  14. One day I'll get the hang of this

    Since you have specified 'fullscreen' on the parent container, all you have to do is specify scroll:true on either the parent or child container. See my example code here.
    Select second tab.
    Swipe...
  15. Replies
    3
    Views
    1,456

    And he said it was good.

    Simply assigning text to the property sets it, when you clear the value. Does this not work for you?



    <script type="text/javascript">
    Ext.setup({
    tabletStartupScreen:...
  16. Replies
    6
    Views
    8,868

    Another way

    you can also rebuild all the css with a change using their SASS build, but it's easier, simpler, and ultimately preferable to just add a new class. That's what I ended up doing too.
  17. Replies
    1
    Views
    1,385

    Another day another dollar

    Naming an argument, doesn't mean it's going to be that...you just got the event/source args reversed in the tap handler.


    <script type="text/javascript">
    Ext.setup({
    ...
  18. Replies
    2
    Views
    985

    One more time, with feeling

    By default, getGroupString() on a store, creates groups from the results. So I'm not sure how you are getting group bars when you have no results.

    I would love to see some code so I could prove...
  19. Replies
    4
    Views
    6,353

    Currently@Home

    This is just for you. ~o)


    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>
    Google Visualization...
  20. Maybe this will work

    I don't fully understand your question. I mocked up what you posted in a readable and testable format.
    Can you run this and explain again, what doesn't look right?



    Ext.setup({
    ...
  21. I'm interested

    What do you mean by, "out of sync"?

    The clearSelection() should be done on the beforeshow() handler, but other than that, this looks like an app I would produce and be happy with.
  22. Replies
    4
    Views
    1,651

    And away we go...

    UI coding is really an art that takes a little bit of "Wrapper" thinking. This is true in CSS, Java SWING, HTML, and now Sencha/Touch.

    You don't fully understand 3 things, which I will try to...
  23. Replies
    3
    Views
    1,799

    Here goes nothin....

    I generally like to start with Panels with a card layout (some of the older folks like myself remember the genious that was, hypercard). Your problem is that you don't have an adequant component...
  24. Replies
    3
    Views
    4,731

    Hrm...

    I had a static json response:


    [{
    "id":1
    ,"givenName":"test"
    ,"familyName":"test2"
    ,"time":200
    }]
  25. Replies
    2
    Views
    712

    Advice?

    That wasn't very helpful :p

    - Use xtypes. don't directly instantiate componetns.

    I use xtypes where there isn't a lot of configuration needed. Most of the time, xtypes cause more problems than...
Results 1 to 25 of 187
Page 1 of 8 1 2 3 4