-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 DetailView Use Header Names Not DataFieldId #319
Comments
Just looking for a tip or some advice here before I have to disable the detail view. |
Just saying it would be nice if it used the data-title or the TH name to match. Not many people want to see the raw field name or identifier. |
If there is a variable easy to use for human readable header vs fieldname (key) labels let me know. I think we are just moving to a AJAX call in the formatter function itself and getting the data that way. More load time but should work and be easier to customize the output down the road. |
@cgountanis Can you solve this? I need the same! |
I did not solve from any given solution. I did however lower case the JSON property names and simply used BootStrap class "text-capitalize" within a SPAN on the property name to make it look good enough for a dynamic display. Was good enough for us. |
Hope this helps a little.
|
Great! Thanks a lot!!! @cgountanis Thats was looking for! 👍 |
I have to use int id to uniquely identify the columns due to spaces and special char in field names.
data-id-field="id"
Is there a way to use the header names or specify the name when in detail view for the key? Maybe there is another var that is being passed? I tried data-title within the column thinking maybe detail view could pick that up, running out of ideas.
The text was updated successfully, but these errors were encountered: