DataGrid for Flutter

Pub.Dev Demo Web

Features

  • Column sizing

  • Column resizing

  • Column sorting

  • Column filtering

  • Localization

    Register new Localization class which extends DataGridLocalizations in your main():

    void main() {
        DataGridLocalizations.registerLocalization(DataGridLocalizationsVi());
        runApp(const MyApp());
    }
    

    Add flutter localizations delegates and locales in your MaterialApp:

    MaterialApp(
        localizationsDelegates: const [
            DataGridLocalizations.delegate,
            GlobalMaterialLocalizations.delegate,
            GlobalWidgetsLocalizations.delegate,
        ],
        supportedLocales: const [
            Locale('en'),
            Locale('vi'),
        ],
        ...
    )
    

Libraries

vph_data_grid