Create a refresh button

Create a button that refreshes data in the data grid.
TIP: Instead of creating this widget from scratch, you can add
Alarms Event Logger
from
Template Libraries
that includes the refresh button.
  1. In
    Project view
    , right-click
    MainWindow (type)
    and select
    New
    Base controls
    Button
    .
  2. In
    Properties
    , set
    Text
    to
    Refresh Data
    .
  3. In
    Events
    , next to
    MouseClick event
    , select
    Add
    and select
    ProjectName
    UI
    MainWindow (type)
    DataGrid1
    Refresh
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.