Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Nebula grid loads slowly when there are more than 200 columns on Ubuntu Linux(Nebula grid ( performance issue ))
Nebula grid loads slowly when there are more than 200 columns on Ubuntu Linux [message #696994] Fri, 15 July 2011 09:38
manoj dabholkar is currently offline manoj dabholkar
Messages: 3
Registered: July 2011
Junior Member
Hi

I am creating more than 200 columns in nebula grid using for loop. It is
working fine in windows platform, but when the same source is run on ubuntu
linux it takes lot of time to load. In Ubuntu it takes more than 10 secs and in
windows it takes only 2-3 seconds.

The code is as follows :

for (int i = 0; i < 200 ; i++)
{
GridColumn column = new GridColumn(bottomGridDayView,SWT.NONE);
if(i==0)
{
column.setWidth(20);
}
else if(i==1)
{
column.setWidth(30);
}
else if(i == delimitCol)
{
column.setWidth(5);
}
else
{
column.setWidth(3);
}
}

We are creating around 200 columns on the grid (bottomGridDayView). The grid is formed by the code below.


bottomGridDayView = new Grid(canvas,SWT.NONE | SWT.V_SCROLL | SWT.H_SCROLL);

bottomGridDayView.setHeaderVisible(false);
bottomGridDayView.setRowHeaderVisible(false);
bottomGridDayView.setCellSelectionEnabled(true);


On Windows XP :- Above code loads the grid in 2-3 seconds
On Suse Linux :- Above code loads the grid in 2-3 seconds
On Ubuntu Linux :- Above code loads the grid in more than 7 seconds

We are facing this problem only on Ubuntu linux operating system.

Please help us to solve the issue.


Regards,
Manoj
Previous Topic:CalendarCombo DateFormat Query
Next Topic:Nebula grid loads slowly when there are more than 200 columns on Ubuntu Linux
Goto Forum:
  


Current Time: Tue Sep 30 10:09:21 GMT 2014

Powered by FUDForum. Page generated in 0.13818 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software