do you have FIND method on the ggc
hi all.
is there a find method in the ggc?
can you give me a simple example on how to use it?
is there a find method in the ggc?
can you give me a simple example on how to use it?
SIGN IN To post a reply.
5 Replies
AD
Administrator
Syncfusion Team
February 12, 2007 06:08 PM UTC
Hi Shachar,
Here is a minimal sample that implements GridFindReplaceDialog for searching the cellvalues in a grid. Please refer to the attached sample for more details and let me know if this helps.
gridFindDialog.zip
Best regards,
Haneef
Here is a minimal sample that implements GridFindReplaceDialog for searching the cellvalues in a grid. Please refer to the attached sample for more details and let me know if this helps.
gridFindDialog.zip
Best regards,
Haneef
SS
Shachar Shimshon
February 12, 2007 07:45 PM UTC
hi.
i have my own search form,and i do not need a dialog.
so please give me a simple example on how to use the find methods from my code.
eg: find the row in which the value in column1=1
and if there is such row - select and ensure it's visible.
>Hi Shachar,
Here is a minimal sample that implements GridFindReplaceDialog for searching the cellvalues in a grid. Please refer to the attached sample for more details and let me know if this helps.
gridFindDialog.zip
Best regards,
Haneef
i have my own search form,and i do not need a dialog.
so please give me a simple example on how to use the find methods from my code.
eg: find the row in which the value in column1=1
and if there is such row - select and ensure it's visible.
>Hi Shachar,
Here is a minimal sample that implements GridFindReplaceDialog for searching the cellvalues in a grid. Please refer to the attached sample for more details and let me know if this helps.
gridFindDialog.zip
Best regards,
Haneef
AD
Administrator
Syncfusion Team
February 13, 2007 11:28 PM UTC
Hi Shachar,
Please try this code.
GridRangeInfo frLocationInfo = GridRangeInfo.Cell(1,1);
GridFindReplaceDialogSink fr = new GridFindReplaceDialogSink(this.gridGroupingControl1.TableControl );
GridFindReplaceEventArgs fre = new GridFindReplaceEventArgs("FindTextHere", "", GridFindTextOptions.WholeTable, frLocationInfo);
fr.Find(fre);
Sample : gridFind.zip
Best regards,
Haneef
Please try this code.
GridRangeInfo frLocationInfo = GridRangeInfo.Cell(1,1);
GridFindReplaceDialogSink fr = new GridFindReplaceDialogSink(this.gridGroupingControl1.TableControl );
GridFindReplaceEventArgs fre = new GridFindReplaceEventArgs("FindTextHere", "", GridFindTextOptions.WholeTable, frLocationInfo);
fr.Find(fre);
Sample : gridFind.zip
Best regards,
Haneef
SS
Shachar Shimshon
February 14, 2007 08:54 AM UTC
hi hannef.
i try to run your example but it seem's not to work.
i enter text from the first col (col0)
the text is "nine", and now - should it select the maching row?
how can i see it's working?
>Hi Shachar,
Please try this code.
GridRangeInfo frLocationInfo = GridRangeInfo.Cell(1,1);
GridFindReplaceDialogSink fr = new GridFindReplaceDialogSink(this.gridGroupingControl1.TableControl );
GridFindReplaceEventArgs fre = new GridFindReplaceEventArgs("FindTextHere", "", GridFindTextOptions.WholeTable, frLocationInfo);
fr.Find(fre);
Sample : gridFind.zip
Best regards,
Haneef
i try to run your example but it seem's not to work.
i enter text from the first col (col0)
the text is "nine", and now - should it select the maching row?
how can i see it's working?
>Hi Shachar,
Please try this code.
GridRangeInfo frLocationInfo = GridRangeInfo.Cell(1,1);
GridFindReplaceDialogSink fr = new GridFindReplaceDialogSink(this.gridGroupingControl1.TableControl );
GridFindReplaceEventArgs fre = new GridFindReplaceEventArgs("FindTextHere", "", GridFindTextOptions.WholeTable, frLocationInfo);
fr.Find(fre);
Sample : gridFind.zip
Best regards,
Haneef
AD
Administrator
Syncfusion Team
February 14, 2007 10:21 PM UTC
Hi Shachar,
How can i see it's working?
>>>>
Try getting the searched value cell location using the CurrentCell.RowIndex and CurrentCell.ColIndex. Please refer to attached sample for implementation.
gridFind_4cdc8d0e.zip
Best regards,
Haneef
How can i see it's working?
>>>>
Try getting the searched value cell location using the CurrentCell.RowIndex and CurrentCell.ColIndex. Please refer to attached sample for implementation.
gridFind_4cdc8d0e.zip
Best regards,
Haneef
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
SS Shachar Shimshon
- Feb 12, 2007 06:06 AM UTC
- Feb 14, 2007 10:21 PM UTC