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.
Unfortunately, activation email could not send to your email. Please try again.

Reg GroupingGridFocus

Thread ID:

Created:

Updated:

Platform:

Replies:

30531 Jun 20,2005 06:48 AM Jun 21,2005 04:07 AM Windows Forms 6
loading
Tags: GridControl
Anna Srinivasan
Asked On June 20, 2005 06:48 AM

Hi, In GroupingGrid, While run time i am setting readonly property. My question is how do i get the focus even if it is non editable..? Thanks, Anna

Anna Srinivasan
Replied On June 20, 2005 07:38 AM

>Hi, > In GroupingGrid, While run time i am setting readonly property. > My question is how do i get the select the values even if it is non editable..? > >Thanks, Anna

Anna Srinivasan
Replied On June 20, 2005 07:44 AM

Hi, In GroupingGrid, While run time i am setting readonly property. My question is how do i get the select the values even if it is non editable..? if i click the non editable field, i should able get the ''I'' cursor to select the item. Thanks, Anna

Administrator [Syncfusion]
Replied On June 20, 2005 08:54 AM

How are you setting rhe ReadOnly property? If you set this.gridGroupingControl1.TableDescriptor.AllowEdit = false; you can normally click a cell and see the blinking cursor. If you have set Enabled = false on the grid or particular cell styles, then these cells will not be clickable. There are other properties that might also prevent youfrom setting a cursor, like ActivateCurrentCellBehavior. There are also events that might affect this. For example, if you are handling CurrentCellActiviating and setting e.ColIndex = 0, then no cell can become active. The is also a CurrentCellStartEditing event that can affect getting a blinking cursor.

Anna Srinivasan
Replied On June 21, 2005 01:41 AM

Hi, I am using following class to make the cell as readonly. GridTableCellStyleInfo readOnlyAssetStyle = new GridTableCellStyleInfo(); readOnlyAssetStyle.BackColor = Color.LightCyan; readOnlyAssetStyle.CellType = "Static"; readOnlyAssetStyle.Trimming = System.Drawing.StringTrimming.EllipsisCharacter; readOnlyAssetStyle.ReadOnly = true; In that how do i get blinking cursor..? Thanks, Anna

Anna Srinivasan
Replied On June 21, 2005 02:29 AM

>Hi, > > I am using following class to make the cell as readonly. > >GridTableCellStyleInfo readOnlyAssetStyle = new GridTableCellStyleInfo(); > readOnlyAssetStyle.BackColor = Color.LightCyan; > readOnlyAssetStyle.CellType = "Static"; > readOnlyAssetStyle.Trimming = System.Drawing.StringTrimming.EllipsisCharacter; > readOnlyAssetStyle.ReadOnly = true; > >we are not using any of those events. In that how do i get blinking cursor..? > >Thanks, Anna

Administrator [Syncfusion]
Replied On June 21, 2005 04:07 AM

You cannot get a blink cursor using: readOnlyAssetStyle.CellType = "Static"; as a Static cell does not have an active edit state. Try setting: readOnlyAssetStyle.CellType = "TextBox";

CONFIRMATION

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.

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.

;