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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





34982 Sep 20,2005 03:54 PM UTC Sep 22,2005 09:13 AM UTC WinForms 6
Tags: GridControl
Asked On September 20, 2005 03:54 PM UTC

Hi There, can anyone tell me what is the equivalent of "HitTestInfo" in sysnfusion''s grid. Cheers, Manohar.

Administrator [Syncfusion]
Replied On September 21, 2005 06:57 AM UTC

Hi Manohar you can make use of the following Point pt ; this.gridGroupingControl1.TableControl.PointToRowCol(pt,out rowIndex,out colindex); Console.Writeline(rowIndex); Console.Writeline(colIndex); Best Regards Mouli.

Replied On September 21, 2005 07:10 AM UTC

Hi Mouli, I am using GridDataBoundGrid, so tablecontrol is not available in that.Kindly advice some other solution as early as possible. Thanks in advance, Thanks & Regards, Manohar

Administrator [Syncfusion]
Replied On September 21, 2005 10:32 AM UTC

Hi Mano you can use this for GridDataBoundGrid this.gridDataBoundGrid1.PointToRowCol(); Best Regards Mouli.

Replied On September 21, 2005 10:41 AM UTC

Hi Mouli, Thanks a lot, I have fixed my problem. I have one more question for you,if I try to select three and a half words in "richtextcell" of "Griddataboundgrid",either it is impossible sometimes or it is difficult.Try selecting and give me some solution for that. Regards, Manohar. >Hi There, > > can anyone tell me what is the equivalent of "HitTestInfo" in sysnfusion''s grid. > >Cheers, >Manohar.

Administrator [Syncfusion]
Replied On September 21, 2005 12:50 PM UTC

Hi Manohar, For RichText CellType, Grid uses WindowsForm''''s RichTextBox internally. By default, RichTextBox.AutoWordSelection is set to true. You set that to false. Here is the code that works in the shipping sample - Windows\Grid.Windows\samples\CellTypes\RichTextCells. GridRichTextBoxCellRenderer renderer = (GridRichTextBoxCellRenderer) this.gridControl1.CellRenderers["RichText"]; GridRichTextEntryPanel panel = renderer.DropDownContainer.Controls[0] as GridRichTextEntryPanel; panel.RichTextBox.AutoWordSelection = false; If this is not answering your issue, please send us a sample with the issue. Best Regards, Mouli.

Replied On September 22, 2005 09:13 AM UTC

Hi Mouli, Unfortunatley it didn''t solve my problem.As I cant''t make an executing sample I am sending two class files(DBGrid.cs,RichTextBox.cs) in a project file.DBGrid is the place where I am setting sytleinfo of each cell to one particular type like static cell,richtext cell,decimal cell etc.In RichTextBox.cs, in the constructor i have written the stmt "this.AutoWordSelection = false". Hope you can suggest me another solution after analysing the sample. Thanks in advance, Cheers, Manohar. SelectionPb_204.zip SelectionPb_8445.zip


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon