Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Set Filter of Datasheet-View dynamically with Javascript

$
0
0

How is it possible to set/change the filter of the datasheet-object (Access Web Datasheet) ?

I tried it like described in the example of the API-documentation (http://msdn.microsoft.com/en-US/library/bb861782(v=office.14).aspx), but with no success.

function Test()
{
    var $grid = $( "#STSListControlWPQ2" );

    $grid[0].SetFilter( null, "FilterField1=Title&FilterValue1=SHO%5FTest%5F1" );

    return false;
}

I did not quite understand the first parameter (value ? type ? )


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>