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

DataView: add gridStyleClass to customize the grid class #12448

Closed
steve3d opened this issue Jan 3, 2023 · 0 comments · Fixed by #12449
Closed

DataView: add gridStyleClass to customize the grid class #12448

steve3d opened this issue Jan 3, 2023 · 0 comments · Fixed by #12449
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@steve3d
Copy link
Contributor

steve3d commented Jan 3, 2023

Describe the feature you would like to see added

Currently in dataview, there is no way to customize the grid's class, this is not so convenient if we want to add some customize to the grid div.

<div class="p-grid p-nogutter grid grid-nogutter">

as you can see, no way of adding more class, like treetable and table, they all now have the tableStyleClass to customize the table's class.

Is your feature request related to a problem?

not a problem, this should be an enhancement.

Describe the solution you'd like

add a gridStyleClass option like table/treetable

Describe alternatives you have considered

seems no other ways, like if I want to use bootstrap 5's dynamic column, for example, I want the grid to be divided as 5 columns, then there is no way of doing that.

Additional context

No response

@steve3d steve3d added Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request labels Jan 3, 2023
@cetincakiroglu cetincakiroglu removed Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 4, 2023
@cetincakiroglu cetincakiroglu added this to the 15.0.2 milestone Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants