Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Dec 2008
    Posts
    38
    Vote Rating
    0
    sthamman is on a distinguished road

      0  

    Default [FNR] GridView not showing dirty cells when using dataIndex in ColumnConfig

    [FNR] GridView not showing dirty cells when using dataIndex in ColumnConfig


    This issue is there in all versions of GXT.

    The below code from GridView should use c.name instead of c.id as the record (r) will not contain data with key c.id when ColumnConfig.setDataIndex() is used.

    Code:
            if (showInvalidCells && r != null && !r.isValid(c.id)) {
              buf.append(" x-grid3-invalid-cell");
            }
            if (showDirtyCells && r != null && r.getChanges().containsKey(c.id)) {
              buf.append(" x-grid3-dirty-cell");
            }
    Code:
      protected List<ColumnData> getColumnData() {
        int colCount = cm.getColumnCount();
        List<ColumnData> cs = new ArrayList<ColumnData>();
        for (int i = 0; i < colCount; i++) {
          String name = cm.getDataIndex(i);
          ColumnData data = new ColumnData();
          data.name = name == null ? cm.getColumnId(i) : name;
          data.renderer = cm.getRenderer(i);
          data.id = cm.getColumnId(i);
          data.style = getColumnStyle(i, false);
          cs.add(data);
        }
        return cs;
      }

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Fixed in SVN as of revision 2412

Similar Threads

  1. Remove dirty triangle for specific cells
    By KRAN in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 23 Dec 2008, 2:57 PM
  2. Remove dirty triangle for specific cells
    By KRAN in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 21 Mar 2008, 3:26 AM
  3. Grid Locked Dirty Cells CSS Bug
    By CableDawg in forum Ext 1.x: Bugs
    Replies: 0
    Last Post: 4 May 2007, 12:54 PM
  4. Dirty cells in striped rows
    By reawilliams in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 2 Apr 2007, 11:04 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi