1. #301
    Sencha User
    Join Date
    Dec 2011
    Posts
    2
    Vote Rating
    0
    chpsrinu is on a distinguished road

      0  

    Exclamation


    Hir,

    I tried locking first two columns in my application using LockingGridPanel but no luck. Can i include this .css and .js files with ext 2.0.2 version? i did not see any error but locked columns come in one row and unlocked columns are coming in other row. i am not able to show the pic. Please throw some pointers. Appreciated your help.


    Regards,
    Srini

  2. #302
    Sencha User
    Join Date
    Jul 2011
    Posts
    1
    Vote Rating
    0
    kamal.addicted is on a distinguished road

      0  

    Default Buffer View with Locking Grid Panel

    Buffer View with Locking Grid Panel


    I have a grid which has too many rows so it is taking too much time to render. So to make this faster, I am trying to implement locking gird panel with Buffer View.
    But Locking Gird Panel and Buffer View use the different Grid View Templates. So is this possible to implement Buffer View with Locking Grid Panel in Extjs 2.2.1 or not? If possible, which approach to be used.
    First I have tried to use the templates.master for this but this does not work with this.enableRowBody because in <tr> tag is not present in templates.master.
    Then I tried to use ts.rowHolder and ts.rowBody template but in this approach I am getting error in the initElements function when it try to fetch the dom elements for the this.scroller because ts.rowBody not uses the dom elements.

  3. #303
    Sencha User
    Join Date
    Apr 2012
    Posts
    31
    Vote Rating
    0
    priyapratheep is on a distinguished road

      0  

    Default


    Hi guys,

    My locking grid is working fine...but I have one problem...

    I used wrap
    Code:
        .x-grid3-cell-inner, .x-grid3-hd-inner
        {    white-space: normal; }
    now my grid is display like this ..For easy understanding i mark with red. The entire column is not changing its colour. only text area is changing. Anybody pls help.


    My code
    Code:
    var projectPurchaseCm =  new Ext.ux.grid.LockingColumnModel([
    
    {id:'taskOrder'    ,header:''    ,dataIndex: 'taskOrder', width:26,editable:false,editor: new Ext.form.TextField({allowBlank: false}),locked: true},
    {id:'taskName',
            header: "Task",
            dataIndex: 'taskName',
            width: 225,
            
            editor: taskComboBox,
            renderer:function(value,p, record){
               if (taskStore.getCount()==0)
                    return value;
               var object=taskStore.getById(value);
               if (object==undefined)
                    return value;
               var retvalue= taskStore.getById(value).get('taskName');
               return retvalue;
                  },locked: true
                  
             },
    {id:'year'    ,header:'yr'    ,dataIndex: 'year', width:45,editable:true,editor: yearCombo,sortable:false,
           renderer:function(value){
               if (yearStore.getCount()==0){
                   return value;
               }
               var object=yearStore.getById(value);
               if (object==undefined){
                   return value;
               }
               var retvalue= yearStore.getById(value).get('name');
               return retvalue;
           },locked: true
        },
    {id:'description'    ,header:'Description'    ,dataIndex: 'description', width:100,editable:true,editor: new Ext.form.TextField({allowBlank: true}),locked: true},
    
    {id:'directCostId',
            header: "Cost Centre",
            dataIndex: 'directCostId',
            width: 100,
            editor: contGroupComboBox,
            renderer:function(value,p, record){
               if (contGroupStore.getCount()==0)
                    return value;
               var object=contGroupStore.getById(value);
               if (object==undefined)
                    return value;
               var retvalue= contGroupStore.getById(value).get('description');
               return retvalue;
                  },locked: true
              },
    {id:'m1'    ,header:'M1'    ,dataIndex: 'm1', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true})},
    {id:'m2'    ,header:'M2'    ,dataIndex: 'm2', width:40, editable:true,editor: new Ext.form.TextField({allowBlank: true})},  
    {id:'m3'    ,header:'M3'    ,dataIndex: 'm3', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true,maxLength: 200}),css : "background-color: #EEF0F2;border-color:#EEF0F2;"},  
    {id:'m4'    ,header:'M4'    ,dataIndex: 'm4', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true})},  
    {id:'m5'    ,header:'M5'    ,dataIndex: 'm5', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true}),css : "background-color: #EEF0F2;border-color:#EEF0F2;"},
    {id:'m6'    ,header:'M6'    ,dataIndex: 'm6', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true})},  
    {id:'m7'    ,header:'M7'    ,dataIndex: 'm7', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true}),css : "background-color: #EEF0F2;border-color:#EEF0F2;"},
    {id:'m8'    ,header:'M8'    ,dataIndex: 'm8', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true})},  
    {id:'m9'    ,header:'M9'    ,dataIndex: 'm9', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true}),css : "background-color: #EEF0F2;border-color:#EEF0F2;"}, 
    {id:'m10'    ,header:'M10'    ,dataIndex: 'm10', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true})},  
    {id:'m11'    ,header:'M11'    ,dataIndex: 'm11', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true}),css : "background-color: #EEF0F2;border-color:#EEF0F2;"}, 
    {id:'m12'    ,header:'M12'    ,dataIndex: 'm12', width:40,editable:true,editor: new Ext.form.TextField({allowBlank: true})}, 
    {id:'tot'    ,header:'Total'    ,dataIndex: 'tot', width:40,editable:false,editor: new Ext.form.TextField({allowBlank: true}),css : "background-color: #EEF0F2;border-color:#EEF0F2;"},
      
    ProjectPurchaseRowActions
    ]);
    Code:
    var ProjectPurchaseStore = new Ext.data.GroupingStore({
       proxy: new Ext.data.HttpProxy({url: selPrjPurchasePath}),
       reader: new Ext.data.JsonReader({totalProperty: 'totalCount', root:'results'}, ProjectPurchaseRecord),
       baseParams: {csid:csid},
       sortInfo:{field: 'year' , direction: 'DESC'},
       remoteSort: false,
       groupField: 'taskOrder',
       multiSortInfo: {
       sorters: [{ field: 'year', direction: "ASC" },
                 { field: 'taskOrder', direction: "ASC"}],
                   direction: 'DESC'
                 },
                 groupDir: 'DESC',
                 listeners:{
                       'load': function(){
                              addTotalRow();
                        }
                 },
       viewConfig: {
                 
            getRowClass: function(record, rowIndex, rp, ds){
                if(record.data.taskEmpty){
                    return 'correct-row'; 
                } 
            }
        }
    });
    In the screenshot i want red should be in the whole column

    thanks in advance

    scrrenShot.JPG

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