Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi I have some buttons in my qvw.
Ex: I have a month having 12 buttons, each per one month.When i select Jan button, it is filtering Jan month data.
I want to filter 3 months of data at a time.If i select Jan, Feb,March,Dec at a time ,my chart should filter with selected months and am able to see all these selections in Current selection box.
Thanks.
Hi Ravi,
Please find the steps below. Hope this helps
1. Go to Button Properties.
2. Action Tab -> Add -> External -> Set Variable. if(vJan =1,0,1) this expression will on/off the value
3. Based on 12 variables you need to set the Trigger to Select in Field
4. Action Tab -> Add -> Selection -> Select in Field -> Month -> if(vJan=1,"Jan")..
Any specific reason you are using buttons here, why cant you use Month Listbox and select accordingly?
Hi Ravi,
Is there any specific reason to display the Months in Button. If you provide the Month in a List box you can achieve directly.
Still if you need in button, yes you can enable triggers to set value for selection in the Month field.
ex: Button 1 (Jan) Trigger -> Select in Field -> Month = "Jan"
I am developing an app for Mobile version,there buttons only preferable.
Can you let me know how to trigger the buttons.
Developing an qvw for mobile version, there i have to select multiple buttons and has to filter data accordingly.
Hi,
PFB the steps.
1. Go to Button Properties.
2. Action Tab -> Add -> External -> Set Variable. if(vJan =1,0,1) this expression will on/off the value
3. Based on 12 variables you need to set the Trigger to Select in Field
4. Action Tab -> Add -> Selection -> Select in Field -> Month -> if(vJan=1,"Jan")..
Hi,
This is solution has more manual effort and Static values.
Try to use the List box with other Styles like Check box/LED.
Hi Armugam,
I was tried with the Checkboxes, but the problem is i am not able to increase the size of Checkboxes in Mobile version.
Can you let me know how it works with Buttons and please send the code for one button.
Hi Ravi,
Please find the steps below. Hope this helps
1. Go to Button Properties.
2. Action Tab -> Add -> External -> Set Variable. if(vJan =1,0,1) this expression will on/off the value
3. Based on 12 variables you need to set the Trigger to Select in Field
4. Action Tab -> Add -> Selection -> Select in Field -> Month -> if(vJan=1,"Jan")..