Hi Dojo,
I have a simple table with a column that only has the values 0 and 1, true or false. I want to create a button (or better a toggle) that filters all the data in the table based on the value 0 or 1. I have tried using a dropdown, but I get all the values from all the rows, which is not what I want. Can someone please help me? Thanks.
Hi Miguel, I’m using a low-code app. Is there an alternative to this solution? A dropdown feed to select 0 or 1 would also be a good solution too. Also a script for a button but I don’t know if this is possible to do. Thank you
Hi Marco,
I believe this should be possible. You could add use a feed to filter the result of GQI query. See example below:
Hope it helps.
Thanks Miguel, your example looks good but I can’t use the numeric input as a feed. When I select a feed to link to, I don’t have the numeric input feed. The column is a number (I hope). Is the code correct for a number column?
Param id=”4014″ trending=”false”
Name taCheckFutureFlag /Name
Description TA Check Future Flag /Description
Type read /Type
Information
Subtext FutureFLag /Subtext
/Information
Interprete
RawType other /RawType
Type double /Type
LengthType next param /LengthType
/Interprete
Display
RTDisplay true /RTDisplay
/Display
Measurement
Type number /Type
/Measurement
/Param
Thank you
Hi Marco,
I will recommend using DIS to develop a driver:
https://docs.dataminer.services/develop/TOOLS/DIS/Introduction.html
DIS provides already some snippets for different types of parameters:
https://docs.dataminer.services/develop/TOOLS/DIS/Editors/XML_editor.html?q=dissnippet#using-the-right-click-menu-commands
Checking your parameter definition, I believe that the RawType tag should be ‘numeric text’ instead of other. Can you try updating this tag?
Thank you, Miguel. Once again. With “numeric text” it works. Thank you very much.
Hi Marco,
Are you planning to implement this toggle button in the driver?
Is it not an option to implement this functionality in a visual overview (Visio) or a dashboard?