New to Telerik UI for JSP? Download free 30-day trial

<kendo:pivotGridV2>

A JSP wrapper for Kendo UI PivotGridV2.

Configuration Attributes

autoBind boolean

If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.

Example

<kendo:pivotGridV2 autoBind="autoBind">
</kendo:pivotGridV2>

columnHeaderTemplate java.lang.String

The template which renders the content of the column header cell. By default it renders the caption of the tuple member.The fields which can be used in the template are: member - the member of the corresponding column header cell or tuple - the tuple of the corresponding column header cell. For information about the tuple structure check this link.

Example

<kendo:pivotGridV2 columnHeaderTemplate="columnHeaderTemplate">
</kendo:pivotGridV2>

columnWidth float

The width of the table columns. Value is treated as pixels.

Example

<kendo:pivotGridV2 columnWidth="columnWidth">
</kendo:pivotGridV2>

dataCellTemplate java.lang.String

The template which renders the content of the data cell. By default renders the formatted value (fmtValue) of the data item.The fields which can be used in the template are: columnTuple - the tuple of the corresponding column header cell; rowTuple - the tuple of the corresponding row header cell; measure - the value of the data cell measure or dataItem - the data item itself. For information about the tuple structure check this link. About the data item structure review this help topic.

Example

<kendo:pivotGridV2 dataCellTemplate="dataCellTemplate">
</kendo:pivotGridV2>

height java.lang.Object

The height of the PivotGridV2. Numeric values are treated as pixels.

Example

<kendo:pivotGridV2 height="height">
</kendo:pivotGridV2>

rowHeaderTemplate java.lang.String

The template which renders the content of the row header cell. By default it renders the caption of the tuple member.The fields which can be used in the template are: member - the member of the corresponding row header cell or tuple - the tuple of the corresponding row header cell. For information about the tuple structure check this link.

Example

<kendo:pivotGridV2 rowHeaderTemplate="rowHeaderTemplate">
</kendo:pivotGridV2>

Configuration JSP Tags

kendo:pivotGridV2-pdf

Configures the Kendo UI PivotGridV2 PDF export settings.

More documentation is available at kendo:pivotGridV2-pdf.

Example

<kendo:pivotGridV2>
    <kendo:pivotGridV2-pdf></kendo:pivotGridV2-pdf>
</kendo:pivotGridV2>

Event Attributes

dataBinding String

Fired before the widget binds to its data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBinding event documentation.

Example

<kendo:pivotGridV2 dataBinding="handle_dataBinding">
</kendo:pivotGridV2>
<script>
    function handle_dataBinding(e) {
        // Code to handle the dataBinding event.
    }
</script>

dataBound String

Fired after the widget is bound to the data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBound event documentation.

Example

<kendo:pivotGridV2 dataBound="handle_dataBound">
</kendo:pivotGridV2>
<script>
    function handle_dataBound(e) {
        // Code to handle the dataBound event.
    }
</script>

expandMember String

Fired before column or row field is expanded.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the expandMember event documentation.

Example

<kendo:pivotGridV2 expandMember="handle_expandMember">
</kendo:pivotGridV2>
<script>
    function handle_expandMember(e) {
        // Code to handle the expandMember event.
    }
</script>

collapseMember String

Fired before column or row field is collapsed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the collapseMember event documentation.

Example

<kendo:pivotGridV2 collapseMember="handle_collapseMember">
</kendo:pivotGridV2>
<script>
    function handle_collapseMember(e) {
        // Code to handle the collapseMember event.
    }
</script>

pdfExport String

Fired when the user clicks the "Export to PDF" toolbar button.

For additional information check the pdfExport event documentation.

Example

<kendo:pivotGridV2 pdfExport="handle_pdfExport">
</kendo:pivotGridV2>
<script>
    function handle_pdfExport(e) {
        // Code to handle the pdfExport event.
    }
</script>

Event Tags

kendo:pivotGridV2-dataBinding

Fired before the widget binds to its data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBinding event documentation.

Example

<kendo:pivotGridV2>
    <kendo:pivotGridV2-dataBinding>
        <script>
            function(e) {
                // Code to handle the dataBinding event.
            }
        </script>
    </kendo:pivotGridV2-dataBinding>
</kendo:pivotGridV2>

kendo:pivotGridV2-dataBound

Fired after the widget is bound to the data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBound event documentation.

Example

<kendo:pivotGridV2>
    <kendo:pivotGridV2-dataBound>
        <script>
            function(e) {
                // Code to handle the dataBound event.
            }
        </script>
    </kendo:pivotGridV2-dataBound>
</kendo:pivotGridV2>

kendo:pivotGridV2-expandMember

Fired before column or row field is expanded.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the expandMember event documentation.

Example

<kendo:pivotGridV2>
    <kendo:pivotGridV2-expandMember>
        <script>
            function(e) {
                // Code to handle the expandMember event.
            }
        </script>
    </kendo:pivotGridV2-expandMember>
</kendo:pivotGridV2>

kendo:pivotGridV2-collapseMember

Fired before column or row field is collapsed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the collapseMember event documentation.

Example

<kendo:pivotGridV2>
    <kendo:pivotGridV2-collapseMember>
        <script>
            function(e) {
                // Code to handle the collapseMember event.
            }
        </script>
    </kendo:pivotGridV2-collapseMember>
</kendo:pivotGridV2>

kendo:pivotGridV2-pdfExport

Fired when the user clicks the "Export to PDF" toolbar button.

For additional information check the pdfExport event documentation.

Example

<kendo:pivotGridV2>
    <kendo:pivotGridV2-pdfExport>
        <script>
            function(e) {
                // Code to handle the pdfExport event.
            }
        </script>
    </kendo:pivotGridV2-pdfExport>
</kendo:pivotGridV2>
In this article
Not finding the help you need?