Spread 之自定义对角线cellType源码: DiagonalCellType

在实际项目中有如下三种需求---需要在Spread表头绘制对角线+表头文字:<a href="http://www.grapecity.com.cn/image.ashx?picture=IMG_20131218_151539.jpg"><img title="region2" style="border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px" border="0" alt="region2" src="http://www.grapecity.com.cn/image.ashx?picture=IMG_20131218_151539.jpg" /></a>

Spread打印设置页眉页脚-插入图片

我们基于《<a href="http://blog.gcpowertools.com.cn/post/2012/11/13/Spread自定义打印页眉或页脚-.aspx">Spread自定义打印页眉或页脚</a>》这篇文章,来实现在页眉、页脚插入图片。<a href="http://www.grapecity.com.cn/image.ashx?picture=printmargins.png"><img title="printmargins" style="border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px" border="0" alt="printmargins" src="http://www.grapecity.com.cn/image.ashx?picture=printmargins.png" width="420" height="406" />

spread中文版demo复活记

《Spread for WinForm 5 中文版 Demo 源码大放送》是2012年初,基于VS 2008 + Spread Winform 5.0版本开发的,而目前最新的Spread Winform用的是7.2版本,VS已经升级到2012了。 这么华丽丽的demo代码,作废吗? 不,仅需要一下几个简单的步骤即可实现复活:替换dll、修改xml文件、删除licenses.licx等。

Spread选择器之探索

Spread控件,系统默认提供的了2种选择器,分别通过配置属性即可实现。同时,我们也可自定义实现选择器。<a href="http://www.grapecity.com.cn/image.ashx?picture=Spread_Selection.gif"><img title="Spread_Selection" style="display: inline" alt="Spread_Selection" src="http://www.grapecity.com.cn/image.ashx?picture=Spread_Selection.gif" width="407" height="500" /></a>

从数据库加载图片并呈现在Spread里

Spread提供了数据绑定功能,它允许可以绑定Spread到不同类型的数据源。Spread加载数据库中图像的方法理论如下:把保存在数据库中的字节数组转换为位图图像,在位图图像创建后,它被保存在项目文件夹下,以便它可以被Spread直接访问。

Spread模仿Excel打印预览之A4纸张虚线

Excel中,有一个很有用的小功能:查看打印A5纸张大小的虚线。 这样就方便用户在编辑大数据量的Excel文件时,知道那些内容是打印在一张A4纸张的,那些内容是打印到另外一张的,非常方便打印需求的用户。

Spread中类似Excel的三种删除方法: 撤销、重做

Spread Winform中响应delete按键实现数据删除,需要手写代码。 在实践的过程发现有3种办法可供选择:<ul> <li>响应KeyDown事件 </li> <li>自定义Action </li> <li>自定义UndoAction </li></ul><a href="http://www.grapecity.com.cn/image.ashx?picture=Spread_delete.gif"><img title="Spread_delete" style="display: inline" alt="Spread_delete" src="http://www.grapecity.com.cn/image.ashx?picture=Spread_delete.gif" width="600" height="470" /></a>

Spread 表格控件: 列脚中添加统计公式

最近有用户在论坛中提出在Spread表格控件列脚中添加统计公式的需求。这是 Spread 的内置功能,在 ASP.NTE 和 Winforms 平台均有提供,在本文中我们将阐述如何实现列脚统计公式功能。<img alt="CustomColumnFooterAggregation" src="http://our.componentone.com/wp-content/uploads/2013/10/CustomColumnFooterAggregation1.png"/>

Spread for ASP.NET 表格控件:定制分组行头显示分组信息

Spread for ASP.NET 表格控件提供了内置的分组功能。允许用户拖拽列头到分组区域进行分组。分组行头默认显示分组的列索引及分组的唯一值。

Spread for ASP.NET 表格控件:添加图表动态提示功能

在 Spread 表格控件中插入图表是很典型的使用场景。Spread表格控件从5.0版本开始支持内嵌图表功能。并且内置了85中图表类型。当前的最新版版为 7.0V2 ,我们一直在不断的寻找改进方案。在本片文章中,我将像大家展示如何实现图表的动态提示功能。<img src="/image.ashx?picture=2013%2f11%2fChartToolTip.gif" alt="" width="600px" />