Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Not working HidePagination #625

Open
naohito-T opened this issue Jun 17, 2024 · 0 comments
Open

[Question] Not working HidePagination #625

naohito-T opened this issue Jun 17, 2024 · 0 comments

Comments

@naohito-T
Copy link

Description
I'm trying to disable pagination in my GoAdmin project using the .HidePagination() method, but it's not working as expected.

Environment

  • GoAdmin version: 1.2.26
  • Go version: 1.21

Example code

import "github.com/GoAdminGroup/go-admin/engine"

func main() {
    eng := engine.Default()
    
    cfg := config.Config{
        ...
    }

    _ = eng.AddConfig(cfg).AddGenerators(...).Use(...)
    
    // Code to hide pagination
    table := table.NewDefaultTable(...).HidePagination()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant