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.

Need help in virtual grid.....

Thread ID:

Created:

Updated:

Platform:

Replies:

73792 May 19,2008 06:10 PM May 21,2008 09:59 AM Windows Forms 1
loading
Tags: GridControl
Ashish Saxena
Asked On May 19, 2008 06:10 PM

Hi I am new to Syncfusion.. I want little help on virtual grid..

My program has one main virtual grid and every cell in the fourth coloumn of it contains multiple embedded virtual grid. Initiazation and assigning of data and embedded virtual grid is done at the run time. Inside Ondraw method of class TestDataCellRenderer : Syncfusion.Windows.Forms.Grid.GridGenericControlCellRenderer..
/////////////////////////////////////////////
protected override void OnDraw(Graphics g, Rectangle clientRectangle, int rowIndex, int colIndex, GridStyleInfo style)
{
if (this.ShouldDrawFocused(rowIndex, colIndex))
{
style.Control = embeddedGrid;
TestDataCellModel.InitializeGrid(embeddedGrid, style);// embeddedGrid.Value, ref Data, bStatus, readOnlyMode);
embeddedGrid.AcceptChanges();
currentDrawGrid = embeddedGrid;
}
else
{ style.Control = drawGrid; drawGrid.AcceptChanges(); TestDataCellModel.InitializeGrid(drawGrid, (TestData)style.CellValue, ref Data, readOnlyMode);
currentDrawGrid = drawGrid;
}////////////////////////////////////////////

Problem is

I need to synchronize the scrolling behaviour of all the embedded virtual grid.

I have seen the syncronizing scrollbar solutions but that are cases when we are adding virtual grids at design time..


I hope I am able to clear my problem.

If its possible please give me the link of the similar sample or a Test sample..

Thanks in advance
Ashish


Administrator [Syncfusion]
Replied On May 21, 2008 09:59 AM

Hi Ashish,

Thanks for the interest in Syncfusion Grid.

You can share the scrollBar in an embedded virtual Grid. Please refer the sample in the below link that shows sharing the scrollbar of the Virtual grid with an embedded virtual Grid.

http://websamples.syncfusion.com/samples/Grid.Windows/F73759/main.htm

If I have misunderstood your requirement, could you please explain me in detail, so that I can work in depth and try to send a better solution?

Regards,
Asem.



CONFIRMATION

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.

;