1. #11
    Ext User
    Join Date
    Nov 2007
    Posts
    6
    Vote Rating
    0
    jfkelley is on a distinguished road

      0  

    Question Demo html

    Demo html


    Thank you for the quick response!

    Ah, resizing some of the columns extra wide did the trick. THANKS AGAIN!

    IGNORE THIS:
    Yes, I did lock columns (in various combinations). I even got the cool vertical blue line after the locked column, but no horizontal scroll bar. I also tried re-sizing the window too to see if I could force a horizontal scroll.

    Same result in IE 6 and FF.

  2. #12
    Ext User
    Join Date
    Nov 2007
    Posts
    7
    Vote Rating
    0
    timezz is on a distinguished road

      0  

    Default


    Quote Originally Posted by MeDavid View Post
    Thanks. Both bugs are fixed now.
    Great! But still, it's gonna be much better if we can set some columns locked in the code rather than on the page.
    And another suggestion: could the "new Ext.grid.RowNumberer()" also be locked? Coz I can't lock the row numbers and it just moves after the locked columns.

    Cheers,
    Matt

  3. #13
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    64
    Vote Rating
    0
    MeDavid is on a distinguished road

      0  

    Default


    Quote Originally Posted by timezz View Post
    Great! But still, it's gonna be much better if we can set some columns locked in the code rather than on the page.
    You can set the boolean 'locked' property to true in your columns array config property of the LockingGridPanel or in the LockingColumnModel.

    Quote Originally Posted by timezz View Post
    And another suggestion: could the "new Ext.grid.RowNumberer()" also be locked? Coz I can't lock the row numbers and it just moves after the locked columns.
    Same as above, give the RowNumberer a locked:true property and you should be fine.

  4. #14
    Ext User
    Join Date
    Oct 2007
    Posts
    3
    Vote Rating
    0
    ssmso is on a distinguished road

      0  

    Default Column locking row height issues

    Column locking row height issues


    It's a nice port!

    I found 3 problems so far:

    1. When inserting a combobox/checkbox in one of the locked columns (or anything that's higher than the default row height), the row height of locked and unlocked columns became uneven. Is there a way around it?

    2. If I use a proxy to load the data, the word "undefined" is shown when the grid is loading.

    3. Any unsortable locked columns will not display the drop down menu. As a result, there's no way to make them unlocked again.

    I was using IE 6, by the way.

  5. #15
    Ext User
    Join Date
    Oct 2007
    Posts
    3
    Vote Rating
    0
    ssmso is on a distinguished road

      0  

    Default Part 1

    Part 1


    1. When inserting a combobox/checkbox in one of the locked columns (or anything that's higher than the default row height), the row height of locked and unlocked columns became uneven. Is there a way around it?
    Answer my own question : looked at 1.1.1 code and found out you can add the following code in the processRows function:

    Code:
                    var h = Math.max(row.offsetHeight, lrow.offsetHeight);
                    row.style.height = lrow.style.height = h + "px";

  6. #16
    Ext User
    Join Date
    Oct 2007
    Posts
    3
    Vote Rating
    0
    ssmso is on a distinguished road

      0  

    Post Part 2

    Part 2


    Add the following line in renderUI() to fix problem 2:

    Code:
    var bd = this.renderRows();
    if (bd == '') bd = ['', ''];

  7. #17
    Ext User matt.hall's Avatar
    Join Date
    Aug 2007
    Location
    Jackson, SM
    Posts
    31
    Vote Rating
    0
    matt.hall is on a distinguished road

      0  

    Default


    When declaring a DOCTYPE, the behavior we're seeing when we lock the first column, is that a horizontal scrollbar is created and that first locked column takes up all the visible width. Additionally, the scrollbar will not allow you to scroll to see the other columns (because it's at full length).

    DOCTYPEs used are...

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    - Matt
    - Matthew S Hall
    Web Apps Developer
    Medseek Inc.

  8. #18
    Ext User
    Join Date
    Nov 2007
    Posts
    11
    Vote Rating
    0
    mbahl is on a distinguished road

      0  

    Default


    first off awesome work! it looks great

    1. has anyone used this code to create a EditorGridPanel with locking columns? I would like to use this with combos in the table
    2. when setting locked: true in LockingGridPanel the column is locked but the other columns don't show up in FF or IE. The columns are all checked in the header menu and if I unlock the column they show up. Has anyone had problems with this?

  9. #19
    Ext User
    Join Date
    Nov 2007
    Posts
    11
    Vote Rating
    0
    mbahl is on a distinguished road

      0  

    Default


    Quote Originally Posted by mbahl View Post
    first off awesome work! it looks great

    1. has anyone used this code to create a EditorGridPanel with locking columns? I would like to use this with combos in the table
    2. when setting locked: true in LockingGridPanel the column is locked but the other columns don't show up in FF or IE. The columns are all checked in the header menu and if I unlock the column they show up. Has anyone had problems with this?
    2. I was able to fix this by adding the following to LockingGridPanel
    render : function(id){
    Ext.grid.LockingGridPanel.superclass.render.call(this, id);
    this.getView().refresh(true);
    }
    If there are better solutions pls let me know

  10. #20
    Ext User
    Join Date
    Nov 2007
    Posts
    114
    Vote Rating
    0
    orangehairedboy is on a distinguished road

      0  

    Default


    I am also curious to know if there is any planned development of column locking on an EditorGridPanel?

Thread Participants: 138

  1. galdaka (2 Posts)
  2. Condor (47 Posts)
  3. mapo (1 Post)
  4. seno (1 Post)
  5. rmesser (2 Posts)
  6. mystix (5 Posts)
  7. fangzhouxing (1 Post)
  8. rarerules (6 Posts)
  9. Kalum78 (2 Posts)
  10. Fabyo (2 Posts)
  11. akannu (4 Posts)
  12. badgerd (1 Post)
  13. hanganum (1 Post)
  14. jlhs5 (3 Posts)
  15. zaunaf (1 Post)
  16. mjlecomte (1 Post)
  17. border9 (3 Posts)
  18. matt.hall (1 Post)
  19. justinfalk (1 Post)
  20. Air_Mike (1 Post)
  21. mbalusu (1 Post)
  22. wm003 (2 Posts)
  23. Plater (1 Post)
  24. ssmso (3 Posts)
  25. jitu (1 Post)
  26. durlabh (2 Posts)
  27. crpatrick (2 Posts)
  28. timezz (2 Posts)
  29. jfkelley (2 Posts)
  30. mankz (6 Posts)
  31. xbohdpukc (1 Post)
  32. orangehairedboy (1 Post)
  33. mbahl (2 Posts)
  34. cblin (3 Posts)
  35. vertigoMX (1 Post)
  36. bernd01 (1 Post)
  37. sanjshah (1 Post)
  38. tahlon (1 Post)
  39. nanich (3 Posts)
  40. tonedeaf (1 Post)
  41. gaspard (1 Post)
  42. ghutchens (3 Posts)
  43. wsn24x7 (1 Post)
  44. srikan999 (1 Post)
  45. lesul (2 Posts)
  46. NotChris (3 Posts)
  47. NeonMonk (3 Posts)
  48. surgi (3 Posts)
  49. lickui (2 Posts)
  50. sureshraja.crt (1 Post)
  51. herrjj (1 Post)
  52. minty (2 Posts)
  53. huixjan (2 Posts)
  54. archrajan (1 Post)
  55. milou (1 Post)
  56. bishoco (1 Post)
  57. deltron0 (1 Post)
  58. ravindra.tiwary1 (2 Posts)
  59. slava_k (1 Post)
  60. cjqcjq2008 (1 Post)
  61. srikanthnukala (1 Post)
  62. Kevin.Tan (3 Posts)
  63. xavierg (1 Post)
  64. ygl (1 Post)
  65. varsha.kothari (3 Posts)
  66. tinnt (6 Posts)
  67. sdileep (1 Post)
  68. rule3 (3 Posts)
  69. RobinOuyang (1 Post)
  70. lokiofragnar (1 Post)
  71. imran (1 Post)
  72. sachin_248 (1 Post)
  73. mogen9999 (2 Posts)
  74. faraway (1 Post)
  75. sircyaj (1 Post)
  76. tmaung (1 Post)
  77. wwwtd (1 Post)
  78. jamiro (1 Post)
  79. Frankatron (3 Posts)
  80. peacock (1 Post)
  81. NicoP (2 Posts)
  82. Raz_ (3 Posts)
  83. jchau (6 Posts)
  84. sanjaykanteti (1 Post)
  85. JSRobbie (1 Post)
  86. alvin (1 Post)
  87. Shmitt (1 Post)
  88. Nagiy (4 Posts)
  89. cooluser7 (1 Post)
  90. Angelina (1 Post)
  91. greeeg (2 Posts)
  92. hoanganhinfo (1 Post)
  93. duverma (1 Post)
  94. hawks2001 (1 Post)
  95. LoekieBoy (3 Posts)
  96. Bogdan Juszczak (1 Post)
  97. eversound (1 Post)
  98. priyanka_iknip (1 Post)
  99. xiespirit (1 Post)
  100. mmboy (1 Post)
  101. SMIRZA (1 Post)
  102. fmanrique (2 Posts)
  103. redzedi (1 Post)
  104. sham123456 (1 Post)
  105. digiprosoft (2 Posts)
  106. krmlmnstr (1 Post)
  107. abotero (1 Post)
  108. tomlobato (2 Posts)
  109. sramanna (2 Posts)
  110. kastanis (5 Posts)
  111. pingTeam (1 Post)
  112. cmschick (2 Posts)
  113. liulei (3 Posts)
  114. Xander75 (2 Posts)
  115. hhanna (2 Posts)
  116. hahacow (1 Post)
  117. janapol (1 Post)
  118. roderick.wu (5 Posts)
  119. saadus (1 Post)
  120. yingwuhahaha (2 Posts)
  121. liuzxtest (2 Posts)
  122. hzwei (5 Posts)
  123. azaqero (3 Posts)
  124. PCalvinClark (1 Post)
  125. arifali (1 Post)
  126. navdimri (2 Posts)
  127. dewoob (2 Posts)
  128. avia4us (1 Post)
  129. DirkWei (1 Post)
  130. setzor (1 Post)
  131. ancorgs (2 Posts)
  132. Sergii (1 Post)
  133. Kranthi1981 (1 Post)
  134. Patrick86 (1 Post)
  135. kamal.addicted (1 Post)
  136. chpsrinu (1 Post)
  137. brian.moeskau (2 Posts)
  138. priyapratheep (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