Setting minimum number of column

Hi,

I’m displaying excel in browser using aspose.cell.gridweb.
The excel contains 2 sheets first sheet contain 6 column and second sheet contains 9 columns.
From this i want to set minimum column as 6 programmatic, so that first sheet should display 6 column and second sheet display 9 column .

Already i was using this code to set minimum column ( GridWeb1.MinColumn = 6;).As per the concept first sheet should display 6 column but it was displaying 8 column as default.

Please guide me how to set minimum column as well.


Thanks,
Suganth.




Hi,


Please use GridWeb.MaxColumn attribute instead, see the sample line of code for your reference:
e.g
Sample code:

GridWeb1.MaxColumn = 5;


Thank you.