Revision WindowingTable query condition
authorjungwook.ryu <jungwook.ryu@samsung.com>
Fri, 10 Jul 2015 05:39:31 +0000 (14:39 +0900)
committerjungwook.ryu <jungwook.ryu@samsung.com>
Fri, 10 Jul 2015 05:40:03 +0000 (14:40 +0900)
Change-Id: Id81b5bd71aa6cec2fdb86f668e207c30f2c3f484
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/widgets/table/DAWindowingTableComposite.java

index 2cc0dc0..4fca19f 100644 (file)
@@ -420,7 +420,11 @@ public abstract class DAWindowingTableComposite extends DATableComposite {
 
                if (previousItemCount != itemCount) {
                        // need to select again only when table is not full
-                       if (previousItemCount <= scrollSelection + tableLen + 1) {
+                       if ((previousItemCount <= scrollSelection + tableLen + 1)){
+                               isQueryDB = true;
+                       } 
+                       // Filtering case
+                       else if (previousItemCount > itemCount) {
                                isQueryDB = true;
                        }
                        previousItemCount = itemCount;