Elaborate on searchBuilderType + serverSide

Elaborate on searchBuilderType + serverSide

washuit-iammwashuit-iamm Posts: 133Questions: 55Answers: 2

https://datatables.net/reference/option/columns.searchBuilderType

When using serverSide processing it is important to use this option to maintain consistent conditions across different pages of the table and also to reduce the number of requests to the server.

How does that option work exactly to reduce the number of requests to the server?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin
    Answer ✓

    Frankly - I'm not sure! I suspect things have moved on since that doc was originally written. I'll look into updating it.

    Thanks,
    Allan

  • tacman1123tacman1123 Posts: 217Questions: 50Answers: 1

    that doc might need some review anyway. It's not clear where to set searchBuilderType. I assume in the column, but that's not working.

  • kthorngrenkthorngren Posts: 21,554Questions: 26Answers: 4,994

    @tacman1123 yes place it in columns. The key is the leading columns for the config option name, for example: columns.searchBuilderType.

    An example would be good plus this text is incorrect:

    The default value of the columns.searchBuilderTitle is undefined

    It should searchBuilderType not searchBuilderTitle. @allan will need to change this.

    but that's not working.

    Please see your thread for next steps to troubleshoot.

    Kevin

Sign In or Register to comment.