Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
shahafei2
Creator
Creator

Var as an input field in a stright table

Hi all,

 

I have a data table that contains 7 sites (rows)

 

I used a for loop in my script to generate 3 variables for each site 

vX_Site1,  vY_Site1,vZ_Site1

vX_Site2, vY_Site2,vZ_Site1

....

vX_Site7, vY_Site7,vZ_Site1

 

I would like to use those variables as an input field table that will look like:

           SITE1         SITE2          SITE3          SITE4          SITE5          SITE6             SITE7       

X       vX_Site1    vX_Site2    vX_Site3    vX_Site4     vX_Site5     vX_Site6     vX_Site7

Y       vY_Site1     vY_Site2    vY_Site3    vY_Site4      vY_Site5     vY_Site6     vY_Site7

Z       vZ_Site1    vZ_Site2    vZ_Site3    vZ_Site4      vZ_Site5    vZ_Site6     vZ_Site7

 

The goal is that the user will be able to edit the variables and to see how it impacts the calculations in a straight table 

any ideas?

1 Solution

Accepted Solutions
fosuzuki
Partner - Specialist III
Partner - Specialist III

I think it is not possible to use the table object to edit the values in the variables. So I suggest you to use the Input Box object and adjust the layout with some textboxes and lines to make it look like a table. 🙂

View solution in original post

5 Replies
fosuzuki
Partner - Specialist III
Partner - Specialist III

I think it is not possible to use the table object to edit the values in the variables. So I suggest you to use the Input Box object and adjust the layout with some textboxes and lines to make it look like a table. 🙂

shahafei2
Creator
Creator
Author

Thanks

 

It is possible to have an input box without the var name/label and the equal sign ?

(to present the input box as an empty cell) 

fosuzuki
Partner - Specialist III
Partner - Specialist III

Yes - you can leave the variable label blank, and uncheck the option "Show equal sign" 🙂

 

shahafei2
Creator
Creator
Author

Thanks, that's what I will do. 

I have just been hoped that there is a built-in solution that will cancel the label area and will allow me to have the input area only(instead).

 

fosuzuki
Partner - Specialist III
Partner - Specialist III

Think of the object as a table with 2 cells. The first cell is the label, and the second is the equal sign + the variable content. You can hover the mouse over the object, find the transparent divisor of the cells, and drag it to the left. This will at least minimize the space used for the first cell.