30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

let possibleValues = filter.possibleValues;
possibleValues.push({
    value: 'Relaxation',
    description: 'Relaxation'
});
filter.setPossibleValues(possibleValues = possibleValues);


独自の値を使用して、利用可能な値の配列全体を上書きます。

let possibleValues = [];
possibleValues.push({
    value: 'FIRST', //The data that is stored in the table for this filter is upper case.
    description: 'First' //Upper case can be painful to read, so put a more readable version to be displayed in the description
});

possibleValues.push({
  value: 'SECOND',
  description: 'Second'
});

filter.setPossibleValues(possibleValues = possibleValues);

注意・制限

フィルターがフィルター階層の一部である場合、親フィルターが変更されてこのフィルターに新しい値が送られると、このプロパティで設定した値は上書きされます。

...

horizontalrule

Styleclass
ClasstopLink

ページトップ