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.

PrepareViewStyleInfo called for rowIndex -1

Thread ID:





41210 Feb 24,2006 11:44 AM Feb 25,2006 02:58 AM Windows Forms 1
Tags: GridControl
Nick D.
Asked On February 24, 2006 11:44 AM

Hi, I''m implementing an event handler for PrepareViewStyleInfo in a data-bound grid and it seems that when the control is painted for the first time, my handler is invoked with rowIndex = -1 in the event arguments. What does that mean? I understand that rowIndex = 0 implies row headers, but I don''t understand what -1 maps to. Binder.RowIndexToPosition also returns -1. Thx, Nick

stanleyj [Syncfusion]
Replied On February 25, 2006 02:58 AM

Hi Nick, rowIndex -1 points to row styles. Please refer the detailed explanation in the link below. http://www.syncfusion.com/library/default.aspx?url=gridwindows/QuerycellinfoEvent.html Best regards, Stanley


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.