Announcement

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

    FilterChangedHandler not fire to change subclause

    Hi,

    The FilterChangedHandler of FilterBuilder does NOT fire while change top operator, remove or add sub clause(secondary level, note in attach file), is there other handler can catch these change events?

    Thank you in advance.

    Code:
    @Override
    public void onModuleLoad() {
    	final FilterBuilder filterBuilder = new FilterBuilder();
    	filterBuilder.setAllowEmpty(true);
    	DataSource ds = new DataSource();
    	for (int i = 0; i < 3; i++) {
    		DataSourceField field = new DataSourceField();
    		field.setName("field" + i);
    		field.setTitle("Field_" + i);
    		ds.addField(field);
    	}
    	filterBuilder.setDataSource(ds);
    	filterBuilder.addFilterChangedHandler(new FilterChangedHandler() {
    		@Override
    		public void onFilterChanged(FilterChangedEvent event) {
    			SC.say("filter criteria changed");
    		}
    	});
    	filterBuilder.draw();
    }
    version:
    Smart GWT LGPL Edition (3.1d 2012-09-17 nightly)
    IE8, Firefox8
    Attached Files

    #2
    Thanks for the notification. This issue has now be resolved (the change should be present in the next nightly build dated Sep 20 or greater).

    Comment


      #3
      Seems this issue haven't been fix yet

      Originally posted by Isomorphic View Post
      Thanks for the notification. This issue has now be resolved (the change should be present in the next nightly build dated Sep 20 or greater).
      Hi, seems above issue still exist in Smart GWT LGPL Edition 3.1 version (2012-11-26 nightly), could you please give some updates on this?

      Comment


        #4
        We're showing the issue as fixed using the provided test code. Please clarify how you are reproducing the issue - if it's not happening with the test code above, we'll need runnable code showing how the problem can be reproduced.

        Comment


          #5
          still NOT working

          Originally posted by Isomorphic View Post
          We're showing the issue as fixed using the provided test code. Please clarify how you are reproducing the issue - if it's not happening with the test code above, we'll need runnable code showing how the problem can be reproduced.
          Hi, Thank you for response, I mean subclause operation(changing 'match any' to 'match all', or remove subclause), rather than first level operation.
          Please see my above attach pic, note in red circle.
          It's still NOT working under latest nightly version(2012-11-29).

          Comment


            #6
            Thank advance for your help.

            To be clear, I attach new pic for this issue, test with above codes and latest nightly version, still not works. please kindly check this. once again, click buttons inside the red box as attach.
            Attached Files

            Comment


              #7
              This issue should now be resolved in both the 3.1p branch and 4.0d branch

              Thanks
              Isomorphic Software

              Comment

              Working...
              X