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

Convert menu item title names to readable column names #3979

Merged
merged 1 commit into from
Jul 14, 2015

Conversation

eeiswerth
Copy link
Contributor

If the columnDef config object doesn't include a displayName property and grid.options.enableGridMenu = true, the grid menu titles default to the name property provided in the columnDef config object. This results in an inconsistency between the column headers and the grid menu titles.

More specifically, the column headers are converted to friendly display names via gridUtil.readableColumnName, whereas the menu titles simply display the name property.

To remain consistent, the menu title should also create a friendly display name via gridUtil.readableColumnName.

Review on Reviewable

…eserve consistency with column headers that lack display names.
PaulL1 added a commit that referenced this pull request Jul 14, 2015
Convert menu item title names to readable column names
@PaulL1 PaulL1 merged commit 6a69120 into angular-ui:master Jul 14, 2015
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

Successfully merging this pull request may close these issues.

2 participants