Announcement

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

    ListGrid filter field is disabled

    Hello dear developers.
    For some time now, in my ListGrid, the filter field has become uneditable.
    I have noticed that this manifests itself when I do not edit a table column.
    Code:
            ListGridField prjUserName = new ListGridField(CONSTANT._NAME);
            prjUserName.setCanEdit(false);
    I now bypass this error in this way.....
    Code:
            FormItem filterEditor = new FormItem();
            filterEditor.setCanEdit(true);
            ListGridField prjUserName = new ListGridField(CONSTANT._NAME);
            prjUserName.setCanEdit(false);
            prjUserName.setFilterEditorProperties(filterEditor);
    but I do not think that this solution will suit everyone.

    SmartClient Version SNAPSHOT_v12.1d_2019-12-01

    #2
    Are you reporting a bug here? If so, what is the bug?

    It looks as if you might have wanted to set dataSourceField.canSave:false instead of setting canEdit:false.

    Comment


      #3
      I believe this is an error because I wanted the field in the table to be non-editable, but I could use a filter for it.
      And the line canEdit:false also makes the filter not editable

      Comment


        #4
        In SNAPSHOT_v12.1d_2019-10-27 works all right

        Comment


          #5
          Hi Isomorphic,

          I have the same problem: Filter is not editable any more for some fields. I didn't look closely, I just noticed this problem.
          SmartClient Version: v12.0p_2019-12-07/PowerEdition Deployment (built 2019-12-07).
          Using version v12.0p_2019-03-23 works fine.

          Best regards
          Pavo

          Comment


            #6
            We've fixed the problem back to SGWT 6.1p/SC 11.1p (earlier releases shouldn't have been affected), and the fix will be in the nightly builds dated 2019-12-11 and beyond.

            Comment

            Working...
            X