button "close" in filter datatable

Hello,

Can you add close button in filter ?

https://snippet.webix.com/ssx9lpu2

nkm

Hey @nkm, this is indeed possible. You can get the filter object with the help of the getFilter() method and get its popup via the getPopup() method, which will then in turn allow us to modify the layout of the relevant popup.

Please take a look at this example: https://snippet.webix.com/h3dlxyuf.

I described it incorrectly. I need button in all type filter who clear actualy content.

Example:

https://www.google.com/search?biw=1536&bih=754&tbm=isch&sxsrf=ACYBGNSgsJxIY6pvUcR2Mip-mjnso3_EdA%3A1569220267325&sa=1&ei=q2aIXZe7E43orgTo_a24Dg&q=datatable+button+clear+filter&oq=datatable+button+clear+filter&gs_l=img.3...6122.6808..6955...0.0..0.57.223.4…0…1…gws-wiz-img.PDkDIR2Z30Q&ved=0ahUKEwjXvO6EqebkAhUNtIsKHeh-C-cQ4dUDCAc&uact=5#imgrc=sxmH7mn9cjguMM:

Do you mean you want the functionality to reset the input value? The implementation stays practically the same, you simply need to rewrite the function attached to the added button: https://snippet.webix.com/puczke3v.

Yes, but this implementation is multiComboFilter I need too selectFilter and textFilter

And in this screen https://www.google.com/search?biw=1536&bih=754&tbm=isch&sxsrf=ACYBGNSgsJxIY6pvUcR2Mip-mjnso3_EdA%3A1569220267325&sa=1&ei=q2aIXZe7E43orgTo_a24Dg&q=datatable+button+clear+filter&oq=datatable+button+clear+filter&gs_l=img.3...6122.6808..6955...0.0..0.57.223.4…0…1…gws-wiz-img.PDkDIR2Z30Q&ved=0ahUKEwjXvO6EqebkAhUNtIsKHeh-C-cQ4dUDCAc&uact=5#imgrc=sxmH7mn9cjguMM: is marked in yellow button. Can I be done similarly?