Comments (1)
Hi @VladTheJunior ,
You can achieve the display of indexes ranging from 1 to the visible row count by generating a separate column as the first one to show the count of rows, as you mentioned. Within the buildRow method, you can add the respective index to the first column by utilizing the effective rows collection. Obtaining the index from the effective rows ensures that it ranges from 1 to the visible row count, even when filtering or sorting occurs.
We have attached a sample for your reference. Please consult the following sample for further information.
- Sample : SfDataGrid.zip
Regards,
Abinesh P
from flutter-widgets.
Related Issues (20)
- New selection mode for sfDataGrid HOT 2
- Add SelectionUnit for sfDataGrid HOT 1
- Placeholder for empty sfDataGrid HOT 1
- The method 'markNeedsBuild' isn't defined for the class 'RenderConstrainedLayoutBuilder<Constraints, RenderObject>' HOT 6
- SfTheme not applying dark theme to SfPdfViewer HOT 1
- The same appointment is displayed twice on the same day in month view. HOT 7
- Query: nature of packages HOT 3
- Expose resourcePanelScrollController to the endUser in SFCalendar HOT 1
- [syncfusion_flutter_calendar] Cannot drag horizontal scrollbar in timeline view (Desktop) HOT 3
- Can not disable the trackball marker for specific series in Cartesian charts HOT 4
- [Data Grid] ScrollController not attached error when replacing SfDataGrid with a different Widget HOT 2
- can i build something like below picture with syncfusion AreaChart? HOT 5
- Experiencing RangeError in SfCartesianChart CandleSeries HOT 2
- syncfusion_flutter_datepicker throws an error HOT 4
- Use generally accepted Dart package version numbers
- [syncfusion_flutter_charts] TooltipBehavior preventing vertical scroll HOT 5
- [syncfusion_flutter_pdf] Mini update in docs HOT 2
- Bad format for weeknumber
- [syncfusion_flutter_charts] Color LineSeries depending on Plotbands HOT 2
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 flutter-widgets.