ajaxoptions bootstrap-table, how to use? example anywhere?
<p>I have scoured the internet and looked for how to use the bootstrap-table to send a simple object to the server using the ajaxOptions data property during it's request. The examples that are available have either been removed or just don't seem to work as I would expect.</p>

<p>I have the following code</p>

<pre><code>    var obj = { "Facilities": ['1234', '123456'] };

    $('#tablePolicies').bootstrapTable({
        url: '/api/PolicyConfigurationAPI/getPoliciesInFacilities',
        method:"POST",
        ajaxOptions: {data: JSON.stringify(obj)},
        showFilter: true,
        idField: 'PolicyID',
        columns: [{
            field: 'state',
            checkbox: true
        },
            {
                field: 'Description',
                title: 'Description',
                sortable: true
            }]
    })
</code></pre>

<p>Calling the following c# mvc service...</p>

<p><code>public HttpResponseMessage getPoliciesInFacilities(List Facilities) //this does have string in &lt;&gt; but the stackoverflow viewer has removed it 
{}</code></p>

<p>I have tried several different combinations of options and the custom ajax call back/override.</p>

<p>However, I look in f12 and see the only data being sent is the standard (limit=10&amp;offset=0&amp;sort=id&amp;order=asc)</p>

<p>What am I missing? I'm sure it must be simple, any help greatly appreciated.</p>

<p>Note: This works when using an extra $.ajax call and providing the returned json data to the data property of the table constructor, however this the fails to initialise the filters from bootstrap-table-filter'</p>

<p>Thanks</p>

<p>Ted</p>