Gridd searching

Hi,

I’m trying to use makeSearch for searcingh values on my grid.

Is there a way to get buttons for the next and prev occurrences of the searched value?

I mean, I search for the value “aaa” and it appears on my grid 22 times, on pages numbers 1,8,14.

So how does the search work? it will select the line on the first page but how the user will get an indication that there are 2 more occurrences on pages 8 and 14?!?!

Thanks, Efrat

In that case you should use filtring but not serching.
It can allow you to show only the needed strings.

dhtmlx.com/docs/products/dht … aging.html

So what the search does? How does it work?

If I search for some value so what should I expect to get? it doesn’t focus on the found items? only in case it is not on the current page it focuses on the items?

Thanks, Efrat

  1. #search_text header filter. result: the nearest row that contains inputed text, becomes selected;
    Tutorial: http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:header_extra#shortcuts

  2. mygrid.findCell () api method returns array each member of which contains array with row ID and cell index
    Tutorial: http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_findcell

Ok, so for option number 1 - if the nearest row is on the next page - will it paginate to the next page?! or there is no solution for next pages?

Thanks, Efrat

That’s right. It will automatically paginate you to the needed page.