Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #101
    Ext Premium Member
    Join Date
    Apr 2009
    Posts
    72
    Vote Rating
    0
    MH61 is on a distinguished road

      0  

    Default


    I'm using this extension on a wizard. I need 2 fields, Principal Investigator, and Co-Investigators. both work from the same ds, and no item can appear in both fields. Superbox select is perfect for this since it removes items from the store.

    A few things i want to achieve:
    -Principal Investigator should be single select, and for the most part look like a standard combo except for ability to delete selection
    -Co-Investigators should be a set height, and once the items exceed the height it the box should be scrollable instead of growing

    How can i achieve this. thanks

  2. #102
    Ext User
    Join Date
    May 2007
    Posts
    181
    Vote Rating
    1
    akannu is on a distinguished road

      0  

    Default


    Dan,
    we are experimenting with this control and like it so far. If we use the stackItems config and have one entry per row, can we also have drag and drop? We have one need where the order is important. I was thinking d&d is the easier way without adding up/down icons to the screen. Is it doable?

  3. #103
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by MH61 View Post
    Principal Investigator should be single select, and for the most part look like a standard combo except for ability to delete selection
    A forceSingleSelection config wouldn't be too difficult to add, I'll add it to the list of features to add. Combined with renderFieldBtns: false I believe this would give you what you need.

    Quote Originally Posted by MH61 View Post
    -Co-Investigators should be a set height, and once the items exceed the height it the box should be scrollable instead of growing.
    This will be a bit more work - I was going to add this functionality but stopped when I realised it would be a bigger job than I anticipated - I'd have to re-write some of the existing code and change the structure of how items are rendered.

    I'd still like to do this, but it's going to be sat at the bottom of the pile whilst competing with paid work or until I have a need for the functionality myself.

  4. #104
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by akannu View Post
    Dan,
    we are experimenting with this control and like it so far. If we use the stackItems config and have one entry per row, can we also have drag and drop? We have one need where the order is important. I was thinking d&d is the easier way without adding up/down icons to the screen. Is it doable?
    I would think it's achievable, but it isn't high on my priority list and I'm afraid it's likely to stay that way whilst I'm busy with other jobs. I'll add a To-Do item to look into this when/if other work calms down a bit.

  5. #105
    Ext Premium Member
    Join Date
    Apr 2009
    Posts
    72
    Vote Rating
    0
    MH61 is on a distinguished road

      0  

    Default


    Quote Originally Posted by danh2000 View Post
    A forceSingleSelection config wouldn't be too difficult to add, I'll add it to the list of features to add. Combined with renderFieldBtns: false I believe this would give you what you need.
    Thanks, I'll give this a try

    Edit: I added the forceSingleSelect config, and edited addItemBox so that the first action it performs is:

    PHP Code:
    if(this.forceSingleSelection){
        
    this.removeAllItems();
    }; 
    I'm sure this isn't the best way since I'm a novice at this, but it works for me - each selection will replace the previous selection - works well with pinList: false.

    However this still will expand the box thinking that a second item will be added, so i need to find out how to stop this bit from happening when this config is set to true. but as i said before i don't understend how this is happening so i guess i can't do anything to stop it

    I tried renderFieldBtns: false but this removes both buttons... but i do still want the drop down button, i just want it to look the same as the standard drop down button, and i'd like the box to look like a standard combo (as this one has a little more padding in the height), can i just add a cls config for this? i'm terrible with css. Actually i guess there would be no harm in this looking exactly the same as a regular combo box, i probably don't even need the X next to the added item.

    Quote Originally Posted by danh2000 View Post
    This will be a bit more work - I was going to add this functionality but stopped when I realised it would be a bigger job than I anticipated - I'd have to re-write some of the existing code and change the structure of how items are rendered.

    I'd still like to do this, but it's going to be sat at the bottom of the pile whilst competing with paid work or until I have a need for the functionality myself.
    I was trying to do this myself, but i couldn't actually figure out what is making the field expand. can you please point me in the right direction and hopefully i can create a workaround for myself

    thanks

  6. #106
    Ext JS Premium Member
    Join Date
    May 2008
    Location
    New York, NY
    Posts
    92
    Vote Rating
    0
    imran is on a distinguished road

      0  

    Default


    Great extension!

    I would suggest improving the renderFieldBtns property to accept an Object like: {"expand":true, "clear":false}

    This would allow greater control for folks who would like to show one icon and not the other. Currently it's either all or nothing.

  7. #107
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    698
    Vote Rating
    3
    danh2000 is on a distinguished road

      0  

    Default


    Quote Originally Posted by MH61 View Post
    I was trying to do this myself, but i couldn't actually figure out what is making the field expand. can you please point me in the right direction and hopefully i can create a workaround for myself
    If you look at the structure, it's just an unordered list wrapped in a couple of divs - it grows to accomodate the child list items.


    I'll add scrolling to a future version when I have time, but if you want to jump in yourself...

    The basic approach would be to wrap the UL element in a fixed height div with overflow or oveflow-y set to auto. This is easy enough to achieve, but the structure of the list items and the delete buttons will likely need to change to accomodate for focusing elements that are outside of the scrollable viewport..... you'll have to try it to see what I mean.

    Quote Originally Posted by imran View Post
    Great extension!

    I would suggest improving the renderFieldBtns property to accept an Object like: {"expand":true, "clear":false}

    This would allow greater control for folks who would like to show one icon and not the other. Currently it's either all or nothing.
    That's might be a good idea - I'll could add the ability to overload the config and use boolean or an object. It is currently achievable with css though:

    PHP Code:
    .x-superboxselect-btn-clear  {
        
    displaynone;

    And

    PHP Code:
    .x-superboxselect-btn-expand {
        
    displaynone;


  8. #108
    Ext JS Premium Member
    Join Date
    Sep 2008
    Location
    Raleigh, NC
    Posts
    144
    Vote Rating
    5
    qooleot is on a distinguished road

      0  

    Default


    Edit: A print function turns out to be a bad idea, read next post down to add CSS to make the widget more printer-friendly.

    It seems printing a page with a superboxselect makes the data appear pretty funny. Just go to the example page and hit print. You get the input textbox at the end and its lined up vertically in a list. Firefox vs IE printing is not consistent.

    I was thinking about creating a printFormat() function that hides the superboxselect and puts a normal comma separated text list in the place, but I wanted to see if:

    1) has anyone already solved this problem
    2) anyone have a better idea?

    Thanks!
    Last edited by qooleot; 31 Aug 2009 at 1:39 PM. Reason: found solution

  9. #109
    Ext JS Premium Member
    Join Date
    Sep 2008
    Location
    Raleigh, NC
    Posts
    144
    Vote Rating
    5
    qooleot is on a distinguished road

      0  

    Default


    Ok I got the printing to behave much better by adding this CSS:

    Code:
    @media print {
    .x-superboxselect {
        padding: 1px  !important;
        margin: 1px  !important;
        overflow: auto !important;
      }
    
    .x-superboxselect-display-btns {
        padding: 1px  !important;
        margin: 1px  !important;
        overflow: auto !important;
    }
    
    .x-superboxselect ul {
      list-style: none;
      overflow: auto !important;
    }
    
    .x-superboxselect ul li {
      float:left;
      padding-left: 1px !important;
      text-align: left;  
      overflow: auto !important;
      
    }
    .x-superboxselect-input{
      display: none;
    }
    }

  10. #110
    Ext JS Premium Member stever's Avatar
    Join Date
    Mar 2007
    Posts
    1,406
    Vote Rating
    6
    stever will become famous soon enough stever will become famous soon enough

      0  

    Default


    Is there a better download location? I get unsetDelayCheck is undefined errors.

Thread Participants: 119

  1. galdaka (9 Posts)
  2. aconran (1 Post)
  3. stever (4 Posts)
  4. dj (1 Post)
  5. mystix (18 Posts)
  6. MarkB (3 Posts)
  7. DrZog (1 Post)
  8. JorisA (2 Posts)
  9. jheid (3 Posts)
  10. Joe (1 Post)
  11. mschering (1 Post)
  12. gigel (1 Post)
  13. akannu (1 Post)
  14. phillipL (1 Post)
  15. badgerd (1 Post)
  16. cmendez21 (1 Post)
  17. mjlecomte (1 Post)
  18. grgur (1 Post)
  19. xantus (1 Post)
  20. garraS (3 Posts)
  21. vahid4134 (2 Posts)
  22. Lloyd K (2 Posts)
  23. boonkerz (3 Posts)
  24. crxtech (3 Posts)
  25. mishanian (7 Posts)
  26. fpw23 (1 Post)
  27. sanjshah (6 Posts)
  28. Zolcsi (1 Post)
  29. SharePat (1 Post)
  30. mjhaston (1 Post)
  31. radtad (16 Posts)
  32. Joyfulbob (2 Posts)
  33. kveeiv (1 Post)
  34. armandoxxx (2 Posts)
  35. imran (1 Post)
  36. Eric24 (1 Post)
  37. drunknmunky (1 Post)
  38. raphac (1 Post)
  39. charleshimmer (1 Post)
  40. frankthetank (4 Posts)
  41. qooleot (3 Posts)
  42. gianpaulo (1 Post)
  43. dennispg (9 Posts)
  44. dasnk (1 Post)
  45. grahamda (1 Post)
  46. sdavids (1 Post)
  47. jasonb885 (1 Post)
  48. wemerson.januario (1 Post)
  49. dizor (3 Posts)
  50. Stju (5 Posts)
  51. extjs_new (1 Post)
  52. senacle (1 Post)
  53. elderotaku (2 Posts)
  54. Dumas (1 Post)
  55. grzegorz.borkowski (13 Posts)
  56. bueth (1 Post)
  57. nonyus (2 Posts)
  58. travisbell (2 Posts)
  59. Jangla (2 Posts)
  60. woooop (2 Posts)
  61. MH61 (2 Posts)
  62. TDub (1 Post)
  63. antoniode (5 Posts)
  64. xiongzhijian51 (1 Post)
  65. l0ga4 (1 Post)
  66. nohurge (2 Posts)
  67. MarkBOneSmart (1 Post)
  68. The Transporter (2 Posts)
  69. swarnendude (1 Post)
  70. arconen (2 Posts)
  71. mratzloff (9 Posts)
  72. Tom23 (1 Post)
  73. nadim (15 Posts)
  74. hongtj (2 Posts)
  75. max.hauser (2 Posts)
  76. dcw (1 Post)
  77. pilotsnipes (2 Posts)
  78. matthewcrist (2 Posts)
  79. fargs (1 Post)
  80. dvuja2 (2 Posts)
  81. sudhirhv (1 Post)
  82. lanhun (2 Posts)
  83. galoch (1 Post)
  84. frrogoy (1 Post)
  85. tboswell (1 Post)
  86. ozum (5 Posts)
  87. scusyxx (1 Post)
  88. hoca (1 Post)
  89. jayasreepc (1 Post)
  90. Jensen (1 Post)
  91. icarey (5 Posts)
  92. mohan_b (1 Post)
  93. skbach_pointyhat (1 Post)
  94. timbonicus (3 Posts)
  95. rachid.abdessamad (1 Post)
  96. ajitmogra (1 Post)
  97. Korbin (1 Post)
  98. istetska (3 Posts)
  99. ian.young (1 Post)
  100. muncher (2 Posts)
  101. sebterzi (2 Posts)
  102. forestclown (1 Post)
  103. Akey (1 Post)
  104. pret (1 Post)
  105. OpnSrce (1 Post)
  106. sriramkumarp (1 Post)
  107. extjs-dev (4 Posts)
  108. mvoss (1 Post)
  109. thomaskee007 (1 Post)
  110. rajshinny (1 Post)
  111. masood (1 Post)
  112. sebholl (1 Post)
  113. forestkwan (1 Post)
  114. deepthi_r (1 Post)
  115. panshr (1 Post)
  116. brian.moeskau (1 Post)
  117. ldashevskiy (1 Post)
  118. lbilde (1 Post)
  119. aoyii (1 Post)

Tags for this Thread