Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Possible bug: Listgrid headerSpan problem with detail fields

    I have read the related reference, checked the existing posts, etc.

    In my description below I use the term "detail field" to refer to fields marked as "detail: true" for easier reading.

    As expected, detail fields are hidden initially. To make a detail field visible I right click the grid header and click the corresponding item in the context menu but nothing happens.

    If I click the menu item of the group header, say "A" or "B" in the sample, the entire group disappears as expected. Then I re-show the group using the context menu and click the menu item of a detail column in the group, the detail column appears but outside the header span, not inside.

    To summarize, I cannot make "countryName" visible properly through the header context menu for the sample below:

    Code:
    isc.ListGrid.create({
        ID: "countryList",
        width:500, height:224,headerHeight: 44,
        headerSpans: [
            { title: "A", fields: ["countryCode", "countryName"] },
            { title: "B", fields: ["independence", "population","gdp"] }
        ],
        fields:[
            {name:"countryCode", title:"Code"},
            {name:"countryName", title:"Country",detail: true},
            {name:"independence", title:"Nationhood", type:"date"},
            {name:"population", title:"Population", type:"integer"},
            {name:"gdp", title:"GDP", type:"float", detail: true}
        ]
    });
    OS: Windows 7

    Browsers:
    Google Chrome 19.0.1084.52 m
    IE 9.0.8112.16421
    Firefox 11.0

    Log Messages:
    03:44:23.539:MUP0:DEBUG:ListGrid:grid:delaying adjustOverflow: childClear

    No js errors on console

    SmartClient Version: v8.2p_2012-05-25/Pro Deployment (built 2012-05-25)

    #2
    Problem continues with 8.3

    I have downloaded SmartClient 8.3 Pro today and the problem continues:

    SmartClient Version: v8.3p_2012-12-17/Pro Deployment (built 2012-12-17)

    Comment

    Working...
    X