Skip to content

SFDataPager Page Numbers #2294

@bahadirarslan

Description

@bahadirarslan

Bug description

I am using SFDataGrid for a long time and after an update I had a weird glitch.

After DataGrid loaded with paging, page numbers are shown at first and fade out, looks like their color changes to same with background. Once scrolled a little bit they return to normal.

Steps to reproduce

N/A

Code sample

Code sample

Expanded(child: _buildDataGrid(constraint)),
if (viewModel.rowsPerPage != 0)
SizedBox(
height: _dataPagerHeight,
child: SfDataPager(
visibleItemsCount: viewModel.rowsPerPage,
delegate: viewModel,
initialPageIndex: viewModel.pageCount,
pageCount: viewModel.pageCount.toDouble(),
direction: Axis.horizontal,
))

Screenshots or Video

Screenshots / Video demonstration
Screen.Recording.2025-02-25.at.23.33.27.mov

Stack Traces

N/A

On which target platforms have you observed this bug?

iOS

Flutter Doctor output

Doctor output
bahadirarslan@bahadirsmac % flutter doctor -v
[✓] Flutter (Channel stable, 3.29.0, on macOS 15.1 24B83 darwin-arm64, locale en-TR) [1,527ms]
    • Flutter version 3.29.0 on channel stable at /Users/bahadirarslan/Development/SDKS/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 35c388afb5 (2 weeks ago), 2025-02-10 12:48:41 -0800
    • Engine revision f73bfc4522
    • Dart version 3.7.0
    • DevTools version 2.42.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [2.5s]
    • Android SDK at /Users/bahadirarslan/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.2) [1,731ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16C5032a
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [13ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2) [12ms]
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)

[✓] VS Code (version 1.97.2) [10ms]
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.102.0

[✓] Connected device (4 available) [13.4s]    
    • iPhone 16 Pro (mobile)          • B5611E87-5F6A-4178-ABAD-7B837493DE55 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-18-2 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 15.1 24B83 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 15.1 24B83 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 133.0.6943.127

[✓] Network resources [668ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdata gridData grid componentsolvedSolved the query using existing solutions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions