Thanks a lot. It worked like a charm!!. I set positions using OriginX for every column or group
<code>
var g1 = grid.DisplayLayout.Bands[0].Groups.Add("g1", "group");
var col = grid.DisplayLayout.Bands[0].Columns;
var grp = grid.DisplayLayout.Bands[0].Groups;
col["f2"].RowLayoutColumnInfo.ParentGroup = g1;
col["f3"].RowLayoutColumnInfo.ParentGroup = g1;
col["f1"].RowLayoutColumnInfo.OriginX = 0;
grp["g1"].RowLayoutGroupInfo.OriginX = 2;
col["f2"].RowLayoutColumnInfo.OriginX = 0;
col["f3"].RowLayoutColumnInfo.OriginX = 2;
</code>