Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Datechooser setShowApplyButton does not work

$
0
0
v9.1p_2015-02-18/Pro Deployment (built 2015-02-18)

setShowCancelBUtton, setShowTodayButton, setTodayButtontitle works.

setCloseOnDateClick, setShowApplyButton does NOT work. Values are ignored no matter what i set them to.

I've tried setting the "closeondateclick" to false in case that made the apply button work, but no.

Code example:
Code:

public class MyDateChooser extends DateChooser {

    public MyDateChooser() {

        setShowCancelButton(true);
        setCloseOnDateClick(true);
        setShowApplyButton(true);
        setShowTodayButton(false);
        //setTodayButtonTitle("XXX");
    }
}


Please let me know if i missed anything. Since neither "closeondateclick" OR "showapplybutton" works, the widget becomes worthless...

Viewing all articles
Browse latest Browse all 4756

Trending Articles