Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hello!!

I've been using the html widget and my idea is, with only one chekbox being able to select/filter several values related to a colum of an specific dataset.

For example, if i have data related to countries i want that with only this checkbox i can be able to select a group of countries, not only one single country.

With the tag selection i know that i can select an specific value but the problem is that it only allows one single value '<div kn-selection-column="..." kn-selection-value="..."></div>'

I want to know if it is possible to include more than one value in 'kn-selection-value' so my checkbox can work as i want.

If this is not the way, how can i select more than one value using this widget?

Thanks in advance.

Environment version 8.0
in Cockpit, Dashboard and Console by (320 points)

1 Answer

0 votes
 
Best answer

Dear kmorabul,

at the moment you can use the array statement to pass more than one element to the selections like in the following example:

<div kn-selection-column="country" kn-selection-value="['italy','france','germany']"></div>

It is not possible to provide more than one kn-selection-column.

Hope it helps, I will ask to add this in the documentation.

Regards.

by (11.3k points)
selected by
...