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

GridGroupingControl - Indent Auto Preview Rows

Thread ID:





44430 May 23,2006 05:55 PM UTC May 24,2006 10:12 AM UTC WinForms 1
Tags: GridControl
Badri Rajani Kanth
Asked On May 23, 2006 05:55 PM UTC

Hi, We are using syncfusion v3.2.1.0. How can I indent autopreview rows? similer to outlook autopreview. Rgds Rajani Kanth

Administrator [Syncfusion]
Replied On May 24, 2006 10:12 AM UTC

Hi Badri, The intent behavior can be achieved be setting the BorderMargins property for the RecordPreviewRow cells. Below is a code snippet. private void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e) { if(e.TableCellIdentity.TableCellType== GridTableCellType.RecordPreviewCell) { GridGroupingControl groupingControl = (GridGroupingControl) sender; GridTable table = groupingControl.Table; GridRecord record = (GridRecord) e.TableCellIdentity.DisplayElement.ParentRecord; e.Style.CellValue = record.GetValue("Notes").ToString(); e.Style.BorderMargins.Left = 50; } } Regards, Calvin.


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

or the page will be automatically redirected to 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