Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
What is encodeExtraParams in infragistics.datasource.js
posted

1. What is encodeExtraParams in infragistics.datasource.js and how to use it?

2. Normally iggrid will post parameters { $skip: 0, $take: 0 }.

Right now, I use ig.RemoteDataSource and I would like to add some value on request { $skip: 0, $take: 0, myParam: "Test" }.

  • 15320
    Offline posted

    Hello Vissanu,

    encodeExtraParams is a private API and we don't encourage using private APIs. If you want to add some custom value to the request I would suggest you to use urlParameterEncoded event. If you have further questions, please let me know.

    Regards,
    Tsanna