Announcement

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

    Enlarging Filterobject to be used on the handset

    Hello,

    We plan to use the FilterBuilder object as handset application on mobile phones. For this we need to make the controls bigger to be able to be touched by finger.

    Our code is as below:

    function advancedFilter(FaturaListesiDataDs, kriterler) {
    return isc.FilterBuilder.create({
    height: 60,
    topOperatorAppearance: "radio",
    operatorPickerWidth: 75,
    fieldPickerWidth: 75,
    valueItemWidth:75,
    showEdges: true,
    //autoDraw: false,
    dataSource: FaturaListesiDataDs.FaturaDS(kriterler),
    showResizeBar: true,
    criteria: {
    _constructor: "AdvancedCriteria", operator: "and", criteria: [{ fieldName: "FaturaTarihi", operator: "greaterOrEqual", value: "" },
    { fieldName: "FaturaTarihi", operator: "lessOrEqual", value: "" }]
    }
    });

    My questions are:

    When designing for the handset application:
    1. we can arrange the filter fields on filter object by the width. But valueItemWidth cannnot be set.
    2. We cannot set the height of the filtre objects.
    3. Is there a better way to enlarge the controls?

    Best Regards
    Esra Akduman
    Versiyon smartclient 10.0
    All browsers
    Attached Files

    #2
    We can't figure out what your question/statement #1 means.

    As far as the others, the FilterBuilder declares various AutoChildren that you can customize via the AutoChild system - see the AutoChild overview for details.

    Comment


      #3
      When FilterBuilder FieldType is Date,we can't set the width of the valueItemWidth

      Thanks, Autochildren has solved our problem.
      Regarding question#1: I should give more detail:
      This happens when the FieldType is Date.
      On the screen shot I've attached I explained the situation:
      Although the valueItemwidth is set to 75, still the field is more than 75.
      Attached Files

      Comment


        #4
        This suggests that, in your skin, the default width for DateItem is set to a fixed pixel width. You can change defaults like this via the skinning system - start by reading the Skinning Overview.

        Comment

        Working...
        X