New Product Launch - BoldDesk !
Introducing help desk ticketing software.
New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
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;
}
}