Filtering on DOJO textboxes - is this possible ?

Filtering on DOJO textboxes - is this possible ?

thanasisthanasis Posts: 11Questions: 0Answers: 0
edited April 2012 in General
Hi

I'm using a form built with dojo and also use dojo.form.TextBox for the textboxes.
What i would like is to have datatables' filtering enabled on DOJO boxes.

I know dojo.form.TextBox is not a native html textbox and u need to use the get and set methods of
the widget in order to set and get values.

Is this possible or should i just use simple html textboxes ? If i use simple html textboxes, I'm missing the CSS styling
of dojo which i really like and I'm using it all over my application with success.

Replies

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin
    edited April 2012
    I'm sure it would be possible :-). All you need to do is put your text box on the page and then bind an event listener that will call fnFilter on key up events with the value form the filter.

    Allan
This discussion has been closed.