Question

Select all records in Detail

Hi team,

Im trying to select all records in detail with a custom click . Please provide suggestion .

i already tried solution given in the article given below which didnt work,

https://community.bpmonline.com/questions/how-select-all-records

It just activates the multiselect and doesnt select all the records . 

regards,

sethuraghav N

Like 0

Like

1 comments

Dear Sethuraghav,

Please see the example below, where filter groups are grouped. The idea is to add OR statements in one filter group and in the other filter group adds first filter group and other statement:

getTypesFilter: function() {
   var filterGroup = new this.Terrasoft.createFilterGroup();
   filterGroup.logicalOperation = this.Terrasoft.LogicalOperatorType.OR;
   var innerFilterGroupCreatedBy = new this.Terrasoft.createFilterGroup();
   innerFilterGroupCreatedBy.add("CurrentUser", this.Terrasoft.createColumnFilterWithParameter(
      this.Terrasoft.ComparisonType.EQUAL, "Tag.CreatedBy", this.Terrasoft.SysValue.CURRENT_USER_CONTACT.value));
   innerFilterGroupCreatedBy.add("PrivateType", this.Terrasoft.createColumnFilterWithParameter(
      this.Terrasoft.ComparisonType.EQUAL, "Tag.Type", TagConstants.TagType.Private));
   var innerFilterGroupOtherTypes = new this.Terrasoft.createFilterGroup();
   var types = [TagConstants.TagType.Corporate, TagConstants.TagType.Public];
   innerFilterGroupOtherTypes.add("OtherTypes", this.Terrasoft.createColumnInFilterWithParameters(
      "Tag.Type", types));
   filterGroup.addItem(innerFilterGroupCreatedBy);
   filterGroup.addItem(innerFilterGroupOtherTypes);
   return filterGroup;
},
 
 

Regards,

Anastasia

Show all comments