Announcement

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

    Issue with fieldPicker width using Filter Builder with recent nightlies

    Hi there,

    I'm seeing an issue with setting the width of the field picker in the Filter Builder.

    Look at this example using 9.0 from your website:
    http://www.smartclient.com/docs/9.0/a/system/reference/SmartClient_Explorer.html#bigFilter


    Using the code below, the smartclient.com example seems to work correctly and it makes the width of the field picker 600px as defined. However, I tried the same thing with the SDK Feature Explorer using the nightly build from 10/7/13 and the same example still honors the pickListWidth but the width of the field itself is not 600px as it should be.

    Code:
    
    var testData =[];
    
    for (var i=0; i<=200; i++) {
        testData[i] = { name: "field"+i, title: "Field "+i, type: "text" };
    }
    
    isc.DataSource.create({
        ID: "bigFilterDS",
        clientOnly: true,
        fields: [
            { name: "name", type: "text" },
            { name: "title", type: "text" },
            { name: "type", type: "text" }
        ],
        testData: testData
    });
    
    isc.FilterBuilder.create({
        ID:"advancedFilter",
        fieldDataSource: "bigFilterDS",
    	fieldPickerProperties:{textMatchStyle:"substring", width:600, pickListWidth:600},
        criteria: { _constructor: "AdvancedCriteria",
            operator: "and", criteria: [
                {fieldName: "field2", operator: "iStartsWith", value: "C"},
                {operator: "or", criteria: [
                    {fieldName: "field73", operator: "notEqualField", value: "field191"},
                    {fieldName: "field130", operator: "iContains", value: "B"}
                ]}
            ]
        }
    });

    #2
    We've tried this test against the latest code on both the 9.0p and 9.1d branch and are not seeing any problems.

    3 questions:
    - can you try the latest nightly build? This may have been a temporary, already resolved regression.
    - If it persists, can you capture the appearance with a screenshot so we can be sure we're looking for the right thing?
    - which browser and OS are you running against

    Thanks
    Isomorphic Software

    Comment


      #3
      I tried it with your latest nightly build and I still see the same problem. I've attached a screenshot showing the issue. The SelectItem controls that show Field 2, Field 73, and Field 130 should be very wide. They aren't in the latest nightlies. But, when you try the same thing with the Feature Explorer at Smartclient.com it works as expected and makes those field widths very wide. Our field names are very long so we need more space to show them. I've attached a second screenshot from the smartclient.com example showing the correct layout.
      Attached Files

      Comment


        #4
        This was fixed in 9.0 and 9.1 a few hours ago, it will be in builds dated November 14 and later

        Comment


          #5
          Looks good, thanks

          Comment

          Working...
          X