Dispalying additional custom filtering control before Search text box

Dispalying additional custom filtering control before Search text box

maheshrk07maheshrk07 Posts: 1Questions: 0Answers: 0
edited February 2011 in General
I have created an additional list box apart from the default search functionality provided by the data table, which will filter data from data table based on the value selected. I am able to filter the data.
Problem is, I want to position this list box inline with the default search text box provided by data table i.e. want to place it on the same row before the search text box.
Any suggestions how I can do this.
Thanks in advance for all the help.

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Can you just move it into place using standard DOM or jQuery methods? $('#example_filter input').insertBefore( whatever_the_select_element_is );

    Allan
  • _jthomas_jthomas Posts: 75Questions: 0Answers: 0
    Hi maheshrk07,
    Would you mind sending/showing the code to create the custom control? Thanks very much

    Regards
    Joson
This discussion has been closed.