Commit c743687b authored by sbade's avatar sbade

removed onload sorting condition for grid


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97984 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 17ba87b3
......@@ -279,10 +279,10 @@ public class CustomGrid extends AbstractDataGrid<DataGridTableRowModel>
{
column.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
}
if ( i == 0 )
/*if ( i == 0 ) // commented for onload sorting
{
firstColumn = column;
}
}*/
sortHandler.setComparator( column , new Comparator<DataGridTableRowModel>()
{
public int compare( DataGridTableRowModel o1, DataGridTableRowModel o2 )
......@@ -655,10 +655,10 @@ public class CustomGrid extends AbstractDataGrid<DataGridTableRowModel>
{
column.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
}
if ( i == 0 )
/*if ( i == 0 ) // aommented for onload sorting
{
firstColumn = column;
}
}*/
sortHandler.setComparator( column , new Comparator<DataGridTableRowModel>() {
public int compare( DataGridTableRowModel o1, DataGridTableRowModel o2 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment