Comments (2)
// Assign the stateManager as a variable in the onLoaded event callback as shown below.
child: PlutoGrid(
columns: columns,
rows: rows,
onChanged: (PlutoOnChangedEvent event) {
print(event);
},
onLoaded: (PlutoOnLoadedEvent event) {
stateManager = event.stateManager;
},
),
// And you can call the stateManager from a button or a function to delete all rows as shown below.
stateManager.removeRows(stateManager.rows);
If not, please contact me again.
Thank you.
from pluto_grid.
Thanks !!
from pluto_grid.
Related Issues (20)
- [Help] How to select a row by code. HOT 2
- [Help] No records HOT 1
- Jump lines in cells HOT 2
- [Feature] Expand/Collapse rows for details HOT 3
- Autosize for rows HOT 2
- Wrong ordering of numeric columns [Bug] HOT 3
- [Feature] Advanced filtering option (AND, OR, ...) HOT 3
- [Help] Filterrow disappearing HOT 2
- Hidden row values HOT 3
- Filter a table from another widget HOT 2
- how to control the count for each category HOT 2
- [Help] How to reminder a selected cell o row in a dual mode? HOT 2
- Is it possible to disable the `FocusScope`? HOT 6
- Filter cell text color[Feature] HOT 2
- [Other] How can I enable selectable text? HOT 3
- [Help] OnBeforeEditEvent exists? HOT 2
- Is this repo dead? HOT 25
- [Help] i want to reload all data when click button HOT 2
- Horizontal scrollbar isn't shown with isAlwaysShown: true HOT 1
- Is there a way to pre-assign filters to specific columns during Grid rendering? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pluto_grid.