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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Reg GroupingGridFocus

Thread ID:

Created:

Updated:

Platform:

Replies:

30531 Jun 20,2005 10:48 AM UTC Jun 21,2005 08:07 AM UTC WinForms 6
loading
Tags: GridControl
Anna Srinivasan
Asked On June 20, 2005 10:48 AM UTC

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 11:38 AM UTC

>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 11:44 AM UTC

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 12:54 PM UTC

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 05:41 AM UTC

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 06:29 AM UTC

>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 08:07 AM UTC

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.

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

;