View Poll Results: Was this helpful?

Voters
325. You may not vote on this poll
  • Yes - Very Much

    250 76.92%
  • Yes - Had to tweak it

    45 13.85%
  • No - Maybe

    14 4.31%
  • Not at All!!!

    16 4.92%
  1. #101
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    Quote Originally Posted by eliezerreis View Post
    Yeah Yeah Yeah, funny bugs on layout. I'm too donkey.
    I paid attention in the calculations and if the summary was being rendered and calculated correctly. I don't observe so much the layout of the grid. Well ... I will do so with a little more calm now. Any news I keep you informed in this thread. If you observe more bugs, tell too.
    great job thus far!

  2. #102
    Ext User uygarpe's Avatar
    Join Date
    Jan 2008
    Location
    Ankara, Turkey
    Posts
    5
    Vote Rating
    0
    uygarpe is on a distinguished road

      0  

    Default thanks

    thanks


    Great plugin, works like a charm. Thanks

  3. #103
    Sencha User
    Join Date
    Oct 2007
    Posts
    14
    Vote Rating
    0
    lukas.wappler is on a distinguished road

      0  

    Question Tooltip for Grid Summary Plugin

    Tooltip for Grid Summary Plugin


    Hello,

    This plugin is great, it was very usefull for me.

    But i need tooltips in the summary row. I've tried some things but nothing works, can anyone help

    Thanks for help!

    Best Regards
    Lukas

  4. #104
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    @lukas, these might help:
    http://extjs.com/forum/showthread.php?t=953
    http://extjs.com/forum/showthread.php?t=31243

    don't have time to work on this atm, so let us know how you fare if you make some progress

  5. #105
    Sencha User
    Join Date
    Oct 2007
    Posts
    14
    Vote Rating
    0
    lukas.wappler is on a distinguished road

      0  

    Question


    Thank you for the fast reply.

    These functions I’ve already tried and i got no success.

    For the normal column it is no problem like this.
    PHP Code:
    renderer: function (value,params,data)
    {                                              
        
    params.attr='ext:qtip="my tooltip"';
        return 
    value;

    but the summary renderer ignores the "attr" value.
    No Tooltip appears when i hover over the summary row.

    PHP Code:
    summaryRenderer: function (value,params,data)
    {                                              
        
    params.attr='ext:qtip="my tooltip"';
        return 
    value;

    So I need a tooltip especially for the summary row
    I hope somebody can help me.

    Best regards
    Lukas

  6. #106
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    @lukas, you're right -- the existing cellTpl seems to be missing the attribute bit.

    try this cellTpl config for the GridSummary plugin:
    Code:
    var myGrid = new Ext.grid.GridPanel({
      // snip unecessary code
    
      plugins: [
        new Ext.ux.grid.GridSummary({
          cellTpl: Ext.apply(new Ext.Template(
            '<td class="x-grid3-col x-grid3-cell x-grid3-td-{id} {css}" style="{style}">',
              '<div class="x-grid3-cell-inner x-grid3-col-{id}" unselectable="on" {attr}>{value}</div>',
            "</td>"
          ), {
            disableFormats: true
          })
        })
      ]
      
      // snip unecessary code
    });
    then try your summaryRenderer again and let me know how it works out for you.

    [edit]
    it was indeed the cellTpl config.
    i've updated the code and posted a new zip package in post #9.
    i've also fixed 2 for-loop closure bugs (i think), and added a gridsummaryrow tooltip to the included example.

  7. #107
    Sencha User
    Join Date
    Oct 2007
    Posts
    14
    Vote Rating
    0
    lukas.wappler is on a distinguished road

      0  

    Thumbs up great

    great


    good work!

    Thanks a lot, for the very fast replys.

  8. #108
    Sencha Premium Member kimosabi's Avatar
    Join Date
    Jan 2008
    Location
    Perth, Western Australia
    Posts
    49
    Vote Rating
    0
    kimosabi is on a distinguished road

      0  

    Default Using JSON Store with gridsummary

    Using JSON Store with gridsummary


    Guys,

    After some playing around, I found that I had to make sure that the variable coming in from the data source that was being used in the summary calculations needed to be typecast into an integer or a float.

    On line 171, you can see that if ext.num can't detect a string as a number (which was happening in my case) it returns 0.
    PHP Code:
        return Ext.num(record.data[field], 0); 
    One possible solution is to change line 171 to

    PHP Code:
     return Ext.num(record.data[field], parseFloat(record.data[field])); 
    But I think that this should actually be fixed in data source (ie PHP outputting JSON in my case). So no need to patch this excellent plugin, just thought it might help some people who have the same problem.

  9. #109
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    what's the number value/string being returned by your PHP script?

    [edit]
    that Ext.num check is there only to guard against nulls / empty strings.
    if your Record was setup correctly (i.e. specifying type: 'float' or type: 'int' in the Reader's config), then that little check there shouldn't be returning 0.

  10. #110
    Sencha Premium Member kimosabi's Avatar
    Join Date
    Jan 2008
    Location
    Perth, Western Australia
    Posts
    49
    Vote Rating
    0
    kimosabi is on a distinguished road

      0  

    Default


    Quote Originally Posted by mystix View Post
    what's the number value/string being returned by your PHP script?

    [edit]
    that Ext.num check is there only to guard against nulls / empty strings.
    if your Record was setup correctly (i.e. specifying type: 'float' or type: 'int' in the Reader's config), then that little check there shouldn't be returning 0.
    Right you are. Thanks for the heads up.

Thread Participants: 132

  1. franklt69 (3 Posts)
  2. Condor (18 Posts)
  3. mapo (3 Posts)
  4. HarryC (1 Post)
  5. mystix (139 Posts)
  6. jared (1 Post)
  7. MaxT (1 Post)
  8. wayne_o (2 Posts)
  9. soreport (1 Post)
  10. violinista (1 Post)
  11. bloon (1 Post)
  12. Troy Wolf (1 Post)
  13. tobiu (1 Post)
  14. Deleter (3 Posts)
  15. sintax.era (2 Posts)
  16. chernomorez (1 Post)
  17. lychorojostone (2 Posts)
  18. 6epcepk (6 Posts)
  19. zaunaf (1 Post)
  20. SlashEMc2k (1 Post)
  21. americos (1 Post)
  22. Layne (1 Post)
  23. jamie.nicholson (1 Post)
  24. mscdex (1 Post)
  25. vnug (2 Posts)
  26. dima (3 Posts)
  27. froamer (3 Posts)
  28. mondomon (3 Posts)
  29. kenshin (1 Post)
  30. rtconner (2 Posts)
  31. juljupy (6 Posts)
  32. lukas.wappler (4 Posts)
  33. crpatrick (1 Post)
  34. saJoshua (7 Posts)
  35. crxtech (1 Post)
  36. vertigoMX (5 Posts)
  37. sayanb (3 Posts)
  38. graveyardfashions (2 Posts)
  39. mwh154 (1 Post)
  40. calavera (2 Posts)
  41. JasonOng (1 Post)
  42. httpdotcom (5 Posts)
  43. kimosabi (2 Posts)
  44. uygarpe (1 Post)
  45. csextjs (2 Posts)
  46. Richie1985 (7 Posts)
  47. eliezerreis (5 Posts)
  48. dado.cubo (1 Post)
  49. Rafael (16 Posts)
  50. chrissturm (2 Posts)
  51. thomasf (1 Post)
  52. Rainher (1 Post)
  53. timotti (2 Posts)
  54. hongfu (1 Post)
  55. rnfbr1 (2 Posts)
  56. issameddine (2 Posts)
  57. rums (4 Posts)
  58. nuser (6 Posts)
  59. mntek (2 Posts)
  60. MichaelOstrovsky (1 Post)
  61. anghuda (1 Post)
  62. longfeisoft (2 Posts)
  63. nameroc (1 Post)
  64. georgeblackjr (1 Post)
  65. vinnybozz (2 Posts)
  66. mcouillard (2 Posts)
  67. wwwtd (5 Posts)
  68. s4brown (2 Posts)
  69. Shmitt (12 Posts)
  70. CEBEP (1 Post)
  71. charleshimmer (7 Posts)
  72. ondra.cz (1 Post)
  73. Eisstern (3 Posts)
  74. rasto1968 (2 Posts)
  75. hpandey (1 Post)
  76. xpete (1 Post)
  77. pratapbm (1 Post)
  78. leonardb (2 Posts)
  79. Trinad (2 Posts)
  80. larkworm (1 Post)
  81. bobjbain (1 Post)
  82. NetFantom (1 Post)
  83. amini (2 Posts)
  84. quen567 (2 Posts)
  85. pieter333 (1 Post)
  86. creepi (1 Post)
  87. ekhanh101 (4 Posts)
  88. alexbanda1982 (1 Post)
  89. damon1977 (1 Post)
  90. pablosn (2 Posts)
  91. cnesbit (1 Post)
  92. uniring (2 Posts)
  93. Jim.Barrows (1 Post)
  94. y_joren3 (2 Posts)
  95. ranadheersingh (2 Posts)
  96. quicksilver_in (2 Posts)
  97. Bleak (1 Post)
  98. janasri (1 Post)
  99. agfk (4 Posts)
  100. mcaudle28 (3 Posts)
  101. msinn (2 Posts)
  102. madirishman (2 Posts)
  103. blackghost (6 Posts)
  104. zvds (1 Post)
  105. sonixbp (5 Posts)
  106. tripEXITo (1 Post)
  107. erikenge (1 Post)
  108. sideview1 (1 Post)
  109. kuthz (1 Post)
  110. AfzalA (1 Post)
  111. pomuchi (1 Post)
  112. DerSalz (2 Posts)
  113. brycekmartin (2 Posts)
  114. malkandari (1 Post)
  115. eurobax (3 Posts)
  116. Fallen Zen (6 Posts)
  117. mayurid (1 Post)
  118. rOCTb (1 Post)
  119. t2nguyen (1 Post)
  120. Manivel (10 Posts)
  121. wigwam_salesman (13 Posts)
  122. ExTriqui (4 Posts)
  123. Tod (2 Posts)
  124. PavelG (1 Post)
  125. joelchu (1 Post)
  126. optiplex (1 Post)
  127. grace.lawrence (1 Post)
  128. bhuskey (2 Posts)
  129. jimprotos (1 Post)
  130. anuruddha84 (1 Post)
  131. Mcaveti (1 Post)
  132. arunmatics (1 Post)

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar