Free Support Forum - aspose.com

Formatting Toolbar

Hi,

Is it possible to write a custom formatting toolbar for the aspose grid ?
When using the “out of the box” Aspose Grid the user has to open the “Format Cell” dialog in order to change the background of the cell, the font etc…and I was wondering it is possible for me to write some sort of custom toolbar so that the user can change the background by just clicking on a toolbutton etc.

Regards,
Seb

Hi,

For Aspose.Cells.GridWeb, you may try adding some custom command buttons/icons for your desired toolbar and specify your desired functionality writing code in GridWeb’s CustomCommand event handler, see the document for your reference:
Create Custom Command Buttons

See the document how to set formatting for cells:
Cells Formatting

Thank you.

Hi,

Does this work for both the WebGrid and the Windows Forms Grid ?
How do I obtain a reference to the selected cell ?

Regards,
Sebastian

Hi,

Well, custom command button are only supported in Aspose.Cells.GridWeb at the moment.

Thank you.