int lastPosition = -1;
private void gridDataBoundGrid1_ScrollTipFeedback(object sender, Syncfusion.Windows.Forms.ScrollTipFeedbackEventArgs e)
{
if(e.ScrollBar.ToString() == "Horizontal")
{
if(lastPosition == -1)
{
lastPosition = e.Value;
}
if(lastPosition > e.Value) //moving left
{
e.Text = string.Format("Left Col= {0}", e.Value - 1);
}
else if(lastPosition < e.Value) //moving right
{
int cols = this.gridDataBoundGrid1.ViewLayout.LastVisibleCol - this.gridDataBoundGrid1.LeftColIndex - 1;
e.Text = string.Format("Right Col= {0}", e.Value + cols);
}
lastPosition = e.Value;
}
}