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.

Event about style reference changing

Thread ID:

Created:

Updated:

Platform:

Replies:

32466 Aug 1,2005 11:58 AM Aug 1,2005 12:38 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 1, 2005 11:58 AM

Hi, Clay! I keep my grid synchronized with other controls on my form. That is, the controls and the grid must have the same ReadOnly property. My problem is that there''s no event about style reference changing: GridModel.set_TableStyle or RowStyles/ColStyles simply set the new style reference but I don''t get an event about it. Therefore listening to StyleInfoBase.Changed is only a half solution. Please, expand the style model with events about reference change, as you did with GridControlBase.ModelChanged.

Administrator [Syncfusion]
Replied On August 1, 2005 12:38 PM

Try listening to SaveCellInfo. Check e.RowIndex and e.ColIndex. If both are -1, then the TableStyle is being set. If the row is -1 but the col > 0, then the column style is being set. And vice versa for therow style.

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.

;