0

私はこのコードを持っています

DataPicker にある Cacel ボタンにテーマを適用する必要があります...どのように作成すればよいでしょうか?

{ xtype: 'datepickerfield', label: 'Start Date XXX', name: 'DateStart',

            //labelWidth: labelWidth,
            value: new Date(),
            picker: {
                yearFrom: yearFrom,
                yearTo  : yearTo,
                hideOnMaskTap: true




            //                toolbar: {
            //                    xtype: 'toolbar',
            //                    items: [
            //                        {
            //                            /*xtype: 'button',
            //                            text: 'Left',*/
            //                            ui: 'custom-btn-confirm',
            //                            style: 'color: #ffffff'
            //                        },
            //                        {
            //                            /*xtype: 'button',
            //                            text: 'Left Two',*/
            //                            ui: 'custom-btn-confirm',
            //                            style: 'color: #ffffff'
            //                        }
            //                    ]
            //                }                





            }                          
        },                                   
        {
4

1 に答える 1

0

以下を使用してボタンのカスタム CSS を作成するかcls: 'myapp-cancelbutton'、定義済みの CSS を使用できます。ui: 'cancel'

于 2012-09-07T10:15:12.883 に答える