Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to add the pull-to-refresh functionality

$
0
0

This example shows how to add the pull-to-refresh functionality to a grid to allow your end-users update grid content with the pull-down gesture. To do this, follow the steps below.

    1. Set the GridControl.IsPullToRefreshEnabled property to true to enable the grid's pull-to-refresh feature.
    2. Create a command to be executed when an end-user pulls the grid down.
    3. Bind the created command to the grid using the GridControl.PullToRefreshCommand property.

Viewing all articles
Browse latest Browse all 7205

Trending Articles