We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Search Functionality

Just curious if anyone has implemented a generic "Search" functionality on grouping grid or databound grid that I can reuse. thanks

5 Replies

AD Administrator Syncfusion Team July 13, 2005 03:46 PM UTC

Here is a thread on using the Find functionality in a GridDataBoundGrid. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=19862 There is no similar support for a general find in a GridGroupingControl yet. You can look for primary keys if that would be of help to you. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=26305


FH Faraz Haque July 25, 2005 09:46 PM UTC

Hello, We are trying to come up with our own implementation of "Search" on grouping grid. So, my question now is, if we find the cell that has mapping values, how can we set focus to that cell. I would like the expand the grouping in case its within a collapsed group. thanks >Here is a thread on using the Find functionality in a GridDataBoundGrid. > >http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=19862 > >There is no similar support for a general find in a GridGroupingControl yet. You can look for primary keys if that would be of help to you. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=26305


AD Administrator Syncfusion Team July 26, 2005 07:35 AM UTC

If you have the GridRecord, you can use record.SetCurrent to set a focus to a particular field and record. To get the GridRecord, if you have an row index in a DataTable, you can use it in the grid.Table.Reords collection to get the GridRecord.


FH Faraz Haque July 26, 2005 08:19 PM UTC

thanks. that worked. just one last issue. now that i have the record, and i have both the column name and index where i want to position the current cell, how do i change the location of the current cell to that column within the record? -faraz >If you have the GridRecord, you can use record.SetCurrent to set a focus to a particular field and record. > >To get the GridRecord, if you have an row index in a DataTable, you can use it in the grid.Table.Reords collection to get the GridRecord.


AD Administrator Syncfusion Team July 26, 2005 10:28 PM UTC

record.SetCurrent has an overload that accepts a field name.

Loader.
Live Chat Icon For mobile
Up arrow icon