>How to disable the right side if the col position is at the end of the col. and how to disable the left side if the col. position is at the 1st of the col.
Do you mean how to freeze a column position? If yes, you can use Column.ColumnOrder property.
Edward Pikman
Independent Consultant