Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
WE ARE LISTENING! New Navigation for Qlik Community, Sept. 26: TELL ME MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How To Clear All fields except Mandatory ones

In My app i want to Clear All selected Fields except for Year and Month.

I have tried these, but nothing is working :

A. In the extension when i use app.clearAll() , its clearing all the fields including Year and Month

B. app.field('Year').clearOther(true);

    app.field('Month').clearOther(true);

   Year Field remain selected, but is clearing Month Field, along with other fields.

C. app.field('Year').lock();

    app.field('Month').lock();

    app.field('Year').clearOther(false);

    app.field('Month').clearOther(false);

     Year Field remain selected, but is clearing Month Field, along with other fields.

0 Replies