[]
        
(Showing Draft Content)

wjFlexGrid Class

wjFlexGrid Class

KnockoutJS binding for the FlexGrid control.

Use the wjFlexGrid binding to add FlexGrid controls to your KnockoutJS applications. For example:

<p>Here is a FlexGrid control:</p>
<div data-bind="wjFlexGrid: { itemsSource: data }">
    <div data-bind="wjFlexGridColumn: {
        header: 'Country',
        binding: 'country',
        width: '*' }">
    </div>
    <div data-bind="wjFlexGridColumn: {
        header: 'Date',
        binding: 'date' }">
    </div>
    <div data-bind="wjFlexGridColumn: {
        header: 'Revenue',
        binding: 'amount',
        format: 'n0' }">
    </div>
    <div data-bind="wjFlexGridColumn: {
        header: 'Active',
        binding: 'active' }">
    </div>
</div>

The wjFlexGrid binding may contain wjFlexGridColumn child bindings.

The wjFlexGrid binding supports all read-write properties and events of the FlexGrid control, except for the scrollPosition, selection and columnLayout properties.

Heirarchy