You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My model has a field called "name". By default this shows up with a table header of "name". I'd like it to appear in the header as "Name" so I added the following definition of col_defs:
But instead of changing the "name" header to "Name", it simply added an extra column called "Name" with the same data. Am I doing something wrong? Thanks!
The text was updated successfully, but these errors were encountered:
sorry for the late response! You should note, that the first column is the "expand property" and is internally called "Name" (with big N). So if you want to change it's heading, you have to provide the expand-on property for the grid.
Example (not full code):
In the html page: <tree-grid expand-on="vm.treeExpandProperty" ...
My model has a field called "name". By default this shows up with a table header of "name". I'd like it to appear in the header as "Name" so I added the following definition of col_defs:
But instead of changing the "name" header to "Name", it simply added an extra column called "Name" with the same data. Am I doing something wrong? Thanks!
The text was updated successfully, but these errors were encountered: