- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
This lesson demonstrates the basics of working with banded Grid Views. I’ll show you to add and delete bands, customize band settings, and change the layout of bands and columns.
?
1. First, let’s change the view type from GridView to “Advanced Banded Grid View”.
2. You’ll see that all the columns are now under the default band.
3. Let’s add one more band to break the columns up into two logical parts.
4. For this purpose, we need to run the designer.
5. You can add bands and specify their location at the same time by pressing the “Add New Band” button and dragging the mouse pointer to the desired band position.
6. After you’ve added the band, you can click its header to access the band settings.
7. In this example, we can use this feature to change the band caption.
8. To rearrange columns between bands, I simply drag the desired columns and drop them where they are needed.
9. Now I’m done with the layout customizations, so I’ll close the designer.
10. The columns and bands layout can also be customized right on the form.
11. Let’s drag columns one under another, so that the corresponding data cells are arranged to two rows.
12. Let’s now make the grid a little bit more readable, by stretching the columns to fit the entire view.
13. The Column’s “Auto Width View” option needs to be set to true for this particular purpose.
14. Now we need to make the column headers in the second band, occupy two rows.
15. To do this, we simply click the column headers (we could use the “Control” or “Shift” key to select multiple columns), and once selected, I set their “Auto Fill Down” property to true to make them stretch down automatically.
16. Finally, let’s change the caption of the “Customer ID” column using the same approach.
17. Now I’m done with banded column customizations, so let’s run the application to see the result.
您可能关注的文档
最近下载
- 人教版三年级上册数学全册教学设计(配2025年秋新版教材).docx
- 西南交通大学机械原理课后习题答案.pdf VIP
- 大模型面试题-15-大模型 RAG 经验面.pdf VIP
- 环境统计第二章.ppt VIP
- 2021年新教材人教A版高中数学必修第一册第五章三角函数 教学课件.pptx VIP
- (完整版)幼儿园卫生保健培训.pptx VIP
- 苏教版数学四年级上册第八单元《垂线与平行线》课件.pptx VIP
- 110kV变电站电气设备安装及调试施工方案.pdf VIP
- 西南交通大学机械原理课后习题答案.pdf VIP
- 江西省南昌市一中2024-2025学年高一下学期第一次月考语文试题(含解析).docx VIP
文档评论(0)