From 74ddcbae54a9272d6703a3988f672ca3f47175fa Mon Sep 17 00:00:00 2001 From: Stephan Wald Date: Sun, 8 Jul 2018 15:24:35 +0200 Subject: [PATCH] removed the version dependency in the code since this version is tagged to require 18.10 --- BBjGridExWidget.bbj | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/BBjGridExWidget.bbj b/BBjGridExWidget.bbj index 1be07c4e..a2367f16 100644 --- a/BBjGridExWidget.bbj +++ b/BBjGridExWidget.bbj @@ -623,13 +623,7 @@ class public BBjGridExWidget extends BBjWidget #TREE! = null() #URL$="" #SelectedRowsMap!.clear() - - if com.basiscomponents.VersionInfo.getComponentsBuildTimeMillis() > 1529907740051 then - data$=#RS!.toJson(BBjAPI.TRUE,"__ROW_INDEX") - else - data$=#RS!.toJson(BBjAPI.TRUE) - fi - + data$=#RS!.toJson(BBjAPI.TRUE,"__ROW_INDEX") #executeScript("gw_setRowsData(" + data$+ ")") methodend rem /** @@ -1666,12 +1660,7 @@ class public BBjGridExWidget extends BBjWidget gson! = new Gson() if (#RS! <> null()) then - if com.basiscomponents.VersionInfo.getComponentsBuildTimeMillis() > 1529907740051 then - data$=#RS!.toJson(BBjAPI.TRUE,"__ROW_INDEX") - else - data$=#RS!.toJson(BBjAPI.TRUE) - fi - + data$=#RS!.toJson(BBjAPI.TRUE,"__ROW_INDEX") cdef!= #getAgGridColumnDefinition(0) else if (#TREE! <> null()) then @@ -1772,10 +1761,6 @@ class public BBjGridExWidget extends BBjWidget FI FI - if com.basiscomponents.VersionInfo.getComponentsBuildTimeMillis() > 1529907740051 AND cd! <> null() then - rem this probably needs to be removed again, just showing for demonstration purpose - cd!.setFieldValue("__ROW_INDEX","") - fi cdef! = new JsonArray() first=1