I cannot find the way to set a "sort by" property in Google AJAX
Search. Please help. My code is:

google.load("search", "1", {language : 'en', "nocss" : true});
    var searchControl = null;
        google.setOnLoadCallback(function(){
                searchControl = new google.search.CustomSearchControl('XXX);
 
searchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
                var drawOptions = new google.search.DrawOptions();
        
drawOptions.setSearchFormRoot(document.getElementById("lotSearchField"));
                searchControl.draw(document.getElementById("relatedResults"),
drawOptions);
        }, true);

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to