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: 
marksmunich
Creator III
Creator III

prevent clear button in toolbar from clearing the selected field.

I was successful in implenting this using a button in interface. But when the clear on the top in toolbar is pressed, my selections are cleared. How can i prevent this from  happening.

14 Replies
marksmunich
Creator III
Creator III
Author

Where do i find the 'Always one seleceted' property.Rob Wunderlich

NareshGuntur
Partner - Specialist
Partner - Specialist

You can find that in the Properties --> General tab of List box. And that can be enabled only if you select a value in the list and come here

Cheers,

Naresh

bullish35
Creator II
Creator II

In the desktop client, you can define, or set, the Clear state. Try this from within your application:

  • Clear all fields
  • Select a value in the field that you, ultimately, do not want to be cleared
  • Go up to the Clear button on the Navigation toolbar
    • click on the down menu arrow
    • select the Set Clear State option
    • IMG_SetClearState.png

I often use this functionality during desktop dev and testing. Haven't had to apply the functionality in a published app, but every reason to believe it will work there, too. If anyone knows otherwise, please inform this post.

Good luck

marksmunich
Creator III
Creator III
Author

Hallo guys,

its fixed. as said by rob wünderlich Rob Wunderlich it can be implemented by 'Always one seleceted' property' on a list box.

thanks all for your quick response.

have a nice day.

Mark

vlad_komarov
Partner - Specialist III
Partner - Specialist III

Ellen,

Thank you for your reply on this topic. Your suggestion ("Set Clear State" option) was a solution for me since I have to keep multi selections avaialble.

BTW, it works on published documents too.

Regards,

Vladimir