olifolkerd / tabulator

Interactive Tables and Data Grids for JavaScript
http://tabulator.info
MIT License
6.76k stars 821 forks source link

Inconsistent behaviour between CTRL+F5 and F5 page reloads. "Placeholder" is not displayed #4625

Open KES777 opened 1 week ago

KES777 commented 1 week ago

Describe the bug When I load page with CTRL+F5 I can see "Placeholder" image image

But when I reload page with F5. Placeholder is not shown: image image

Tabulator Info

Working Example

2. <button class="btn btn-primary" onclick="reloadTabulator()">Reload</button><br>
<div id="customized-table"></div>

<script>
var customT = new Tabulator( '#customized-table', {
  // tableBuilding: init_lookup_columns,
  height : "150",
  ajaxURL: "/error400-timeout",
  columns: [
    idCell(),
    { title: "Name",  field: "name", width: 400 },
  ],
});

function reloadTabulator() {
    customT.setData("/ajax/db.json");
}

</script>

To Reproduce A step by step guide to recreate the issue in your JS Fiddle or Codepen:

  1. OPen page with CTRL+F5
  2. Reload page F5

Expected behavior In both cases should be "Placeholder visible"

Screenshots See above.

Desktop (please complete the following information):