Book Image

Ext.NET Web Application Development

By : Anup K Shah
Book Image

Ext.NET Web Application Development

By: Anup K Shah

Overview of this book

To build a rich internet application, you need to integrate a powerful client side JavaScript framework with a server side framework. Ext.NET achieves this by integrating Sencha's Ext JS framework with the power of ASP.NET. The result ñ a sophisticated framework offering a vast array of controls, layout, and powerful AJAX and server bindings, which can be used to build rich, highly usable web applications. "Ext.NET Web Application Development" shows you how to build rich applications using Ext.NET. Examples guide you through Ext.NET's various components using both ASP.NET Web Forms and MVC examples. You will also see how Ext.NET handles data binding and server integration. You will also learn how to create reusable components and put them together in great looking applications. This book guides you through the various Ext.NET components and capabilities to enable you to create highly usable Ext.NET components and web applications. You will learn about various UI components and numerous layout options through examples. You will see how the AJAX architecture enables you to create powerful data-oriented applications easily. This book will also teach you how to create reusable custom components to suit your needs. "Ext.NET Web Application Development" shows you how to create rich and usable applications using Ext.NET through numerous examples.
Table of Contents (17 chapters)
Ext.NET Web Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
8
Trees and Tabs with Ext.NET
Index

Row expanding


A common use of grids is to show related data. Often it will be to expand details, or show some data related to the current row. A typical design pattern for this is the master-detail pattern. In a grid context, a grid row is the master, and then the detail can be shown in a number of ways. Sometimes it can be done by expanding a row; other times it might be to show details in a side panel (similar to e-mail readers such as Outlook that have a reading pane below or to the side of the list of e-mails).

We saw an example of the master-detail pattern with the DataView in Chapter 5, Working with Data, where we selected an employee and saw more details to the side. Similar techniques can be used with the GridPanel. This is because the row of data is held by the Store, which is common to the DataView and GridPanel. Here we will look at expanding a grid row as a way to show more details.

Row expanding using templates

Consider the financial data example we have been using earlier....