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

GridColumn ColumnPosition #186

Closed
phisakel opened this issue Jul 16, 2020 · 3 comments
Closed

GridColumn ColumnPosition #186

phisakel opened this issue Jul 16, 2020 · 3 comments

Comments

@phisakel
Copy link

GridColumn attribute should have a ColumnPosition property to define the column position (1 = first from the left, 2 = second etc)

@gustavnavar
Copy link
Owner

Column position in the grid is defined as follows:

  • by the order of addittion if one is using the Add(...) method of the GridColumnCollection object
  • by the position parameter of the Insert(position, ...) method of the GridColumnCollection object

@phisakel
Copy link
Author

I use GridClient AutoGenerateColumns() so the column position is determined from the model properties order.

@gustavnavar
Copy link
Owner

Package 1.7.2 supports this feature. You can use the Position attribute. Take a look here

rgentry09 pushed a commit to rgentry09/ERP-ASP.NET that referenced this issue Jul 10, 2023
dev0926 added a commit to dev0926/gridNET that referenced this issue Feb 21, 2024
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

2 participants