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

PrepareViewStyleInfo called for rowIndex -1

Thread ID:





41210 Feb 24,2006 04:44 PM UTC Feb 25,2006 07:58 AM UTC WinForms 1
Tags: GridControl
Nick D.
Asked On February 24, 2006 04:44 PM UTC

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 07:58 AM UTC

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.

Please sign in to access our forum

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