Is there any way to obtain the current OData data source URL, including the filtering query params currently in effect?
I'd like to use the igGrid to allow users to verify a data set after filtering, then use the OData URL for that data set for further processing...
Thanks,
Jim
Worked like a charm, thanks!
hi,
sure, you can take a look at the following thread:
https://ko.infragistics.com/community/forums/f/ignite-ui-for-javascript/65946/binding-to-json-object-s-complex-properties
the params argument that's passed can be combined with the URL in order to form the final OData url that will be called:
grid.options.dataSource + '?' + $.param(params) ;
where grid can be obtained with something like:
$("#gridElement").data("igGrid");
or you can also just do:
$("#gridElement").igGrid("option", "dataSource") + "?" + $.param(params);
Hope it helps. Thanks,
Angel