I'm trying to use sliders and have a data filter at the same time. The problem I have is that when I open my filter, moving the sliders causes the figure to no longer update. Without the filter, the figure updates fine. The sliders are hooked up to Table Variables that then are used in columns for calculations. I opened the data sheet and the numbers are still changing as well as the equations. Unsure why the figure itself won't update.
I've replaced the specific details of the data with generic placeholder names. DataTable12 is the data table with the data and equations updating. I was using 'Current Data Table()' but it got confused if something else somehow ended up as my current data table so that's why I replaced it to the table name.
Filter Code
DataTable12 << Data Filter(
Location({3600,121}),
Add Filter(
columns(
:Column Name1,
:Column Name2,
:Column Name3
),
Display( Column Name1, Size( 298, 154 ), List Display ),
Display( Column Name3, Size( 298, 79 ), List Display )
)
)
Slider Code
dt = DataTable12;
val = Slider1 << Get;
dt << Set Table Variable("w_one",val);
NumberEdit1 << Set(val)
Number Box Code
dt = DataTable12;
val = NumberEdit1 << Get;
dt << Set Table Variable("w_one",val);
Slider1 << Set(val)
Thanks!