Customize SearchPanes

Customize SearchPanes

didcomsergiodidcomsergio Posts: 15Questions: 4Answers: 0

i create a searchPane from a render column, with text and icon. how can i change de filter of the SearchPanes to it avoid the icon.

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    I'm sorry, but I'm not clear what you mean.

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • didcomsergiodidcomsergio Posts: 15Questions: 4Answers: 0

    Apparently it work different in this simulator, but in the 'Icon' column it render an text&icon but it doesnt show the icon neither datatable or searchpane.
    In my application it shows the icon in both elements datatable and seachpanes, my problem is that i want to customize my searchpane so it avoid the icon.

    https://live.datatables.net/muweboze/4/

  • kthorngrenkthorngren Posts: 21,337Questions: 26Answers: 4,954

    but it doesnt show the icon neither datatable or searchpane.

    You need to load the fontawesome CSS.

    my problem is that i want to customize my searchpane so it avoid the icon.

    Use columns.searchPanes.orthogonal to display only the data in the column.

    This is the updated example with both changes:
    https://live.datatables.net/muweboze/5/edit

    Kevin

  • didcomsergiodidcomsergio Posts: 15Questions: 4Answers: 0

    thank you! that work perfecly!

Sign In or Register to comment.