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

Subject: Single-Click behavior on GridDataBoundGrid cell problem...

Thread ID:

Created:

Updated:

Platform:

Replies:

40130 Jan 26,2006 12:12 AM UTC Jan 26,2006 09:43 AM UTC WinForms 1
loading
Tags: GridControl
Hal McKinney
Asked On January 26, 2006 12:12 AM UTC

Hello, I have a GDBGrid with a (textbox) column defined as follows: Dim gridBoundColumnBidAdjustment As New Syncfusion.Windows.Forms.Grid.GridBoundColumn Me.GridDataBoundGridIndex.GridBoundColumns.Add(gridBoundColumnBidAdjustment) gridBoundColumnBidAdjustment.HeaderText = "Bid Adj" gridBoundColumnBidAdjustment.MappingName = "BidAdjustment" gridBoundColumnBidAdjustment.StyleInfo.CellValueType = GetType(Decimal) gridBoundColumnBidAdjustment.StyleInfo.Format = "#,##0.00###" gridBoundColumnBidAdjustment.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Right Me.GridDataBoundGridIndex.Model.ColWidths(4) = 50 When (single)clicking a cell in this column, it will place the cursor (briefly) whereever in the existing text I happened to click then immediately move the cursor all the way to the left side of the text (so that if I type anything it is inserted in front of existing text in that cell). I need it to act more like excel such that a single click to a cell in this column selects the whole cell so that if I start typing it will REPLACE the contents (instead of INSERTing in front of)

stanleyj [Syncfusion]
Replied On January 26, 2006 09:43 AM UTC

Hi Hal, Try setting ActivateCurrentCellBehavior and see if that could help. Me.gridDataBoundGrid1.Model.Options.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll Also refer this thread, if you need to replace character by character instead of insertion. Best regards, Stanley

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

;