Free Support Forum - aspose.com

Insert spaces before Value into the cell

Is there any mode to insert a blank spaces before the data into the cell.

Like this:

" VALUE"

Hi,

Well, you may try:

GridWeb1.WebWorksheets[0].Cells["A1"].PutValue("VALUE");

GridWeb1.WebWorksheets[0].Cells["A1"].Style.HorizontalAlign = HorizontalAlign.Right;

Thank you.

Hi, It din´t resolv my problemn, I really need to show blank spaces before the data, and in some data, I need to put 5 blank spaces, in other, 3 blank spaces, in other 8 blank spaces??

Is there some may?

Hi,

The grid doesn't supports multiple blank spaces in a cell. We will improve that in the future version.

Thank you.

Hi,

At the lat versin 9.1.2 can I insert tab´s or blanck spaces before the value:????

Thank´s a lot

Hi,

Not yet. We will support this feature soon.

Thank you.

Hello,

Is there any solution when I can put blank spaces before the value in a cell??

Thank you!

Hi,

Thanks for keeping in touch with us.

Well, we are working on some important features including this one these days. It will be available soon.

Thanks for being patient!

Hi,

The new version 1.9.2.8 now supports this feature. Please download it through this link:

<A href="</A></P> <P> Thank you.</P> <P> </P>

Now it´s work fine!

Thank you so match!

Hi, I need the same funcion at the hyperlink. So, I need to insert blank spaces before the hyperlink text! Is it possible??

Hi,

Well, currently it is not supported, we may consider it in future versions.

Thank you.

Ok. I´ll wait this implementation!

Thank you!

Hi,

You may use encoded text in hyperlinks. Replace space chars with " ". Here is an sample:

link.Text = "Open a      Window";