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. Image for the cookie policy date

Event about style reference changing

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.

1 Reply

AD Administrator Syncfusion Team August 1, 2005 11:38 AM

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.

Loader.
Live Chat Icon For mobile
Up arrow icon