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

Deriving from GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

36981 Nov 14,2005 02:30 PM UTC Nov 14,2005 03:51 PM UTC WinForms 1
loading
Tags: GridControl
Georgi Kashev
Asked On November 14, 2005 02:30 PM UTC

Hello, I have a control derived form GridControl. I wish to add some additional functionality like displaying status and error strings above the header row. I can make it easy if I double the header row and configure the 0 row to be an error row. But it becomes confusing to work with this derived grid as the row indexes does not match anymore to the visible ones. If you want to change the [1,1] cell you have to request [2,1]. This makes the error and status displaying functionality not transparent. Unfortunately this a requirement. I wander is there a chanse to set a clip rectangle to the base grid and force it to draw itself not in the whole client rectangle, but in a part of it? Regards, Gerogi

Administrator [Syncfusion]
Replied On November 14, 2005 03:51 PM UTC

Here is a link to a sample that adds a summary row to a grid by slipping a second one-row grid under the main grid (and in its client area). Checkout the SiteSummaryRow method in the GridSummaryRow.cs file. It shows how to shrink up the main grid to free up space (one-row height) for the second grid in the main grid''s client area. You could do something similar to move your gridcontrol down 1 row to have space above the grid in its client area. http://64.78.18.34/support/attachments/SummaryRowSample.zip

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

;