question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The Fields in the option `Detail View`

See original GitHub issue

I use the option Detail View Detail_View_Title

<table
  id="table"
  data-toggle="table"
  data-height="460"
  data-detail-view="true"
  data-detail-formatter="detailFormatter"
  data-url="json/data1.json">
  <thead>
    <tr>
      <th data-field="id">ID</th>
      <th data-field="name">Item Name</th>
      <th data-field="price">Item Price</th>
    </tr>
  </thead>
</table>

<script>
  function detailFormatter(index, row) {
    var html = []
    $.each(row, function (key, value) {
      html.push('<p><b>' + key + ':</b> ' + value + '</p>')
    })
    return html.join('')
  }
</script>

I want to see not the name of the field

id: 0 name: Item 0 price: $0 amount: 3

I want to see the title for this field, for example:

My title id: 0 My title name: Item 0 My title price: $0 My title amount: 3

How in the frontend page to show not the name of the field and only the title of the field into the option Detail View?

It is possible?

If it is possible, that i can get example how is it do it?

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
UtechtDustincommented, Jun 16, 2020

No problem, your welcome 😃

1reaction
UtechtDustincommented, Jun 16, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Option to configure Issue Detail View in board in JIRA new ...
Currently in JIRA new layout, there's no option to configure Issue Detail View in board to show what fields to be displayed.
Read more >
Solved: Show Fields not Appearing in Detail View
I have a table sfr with two Show type columns. I created a detail view based on a slice of sfr. The show...
Read more >
How to use the Detail View - Epic Sum Up Server - APTIS - Doku
Here you can search for fields that you want to have displayed in the Detail View. To add or remove the field, simply...
Read more >
Use the fields view—ArcGIS Pro | Documentation
The fields view is used to manage the fields of a layer or table. In the fields view, you can view, edit, and...
Read more >
Layouts & Detail Views · Knowledge Hub - Coda
Change to detail view through Options > Detail. Customize fields by clicking on the “...” in the top right of the view, then...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found