mirror of
https://github.com/Kae7in/perfview
synced 2026-08-09 12:09:44 +00:00
Resizing now works on all tables
This commit is contained in:
@@ -181,6 +181,10 @@ table tbody td, table tbody th {
|
||||
text-indent: 8px;
|
||||
}
|
||||
|
||||
table.treetable span.indenter {
|
||||
display: inline; /* TODO: THIS COULD BE HACKY; Figure out another way to fix arrow indenting problem*/
|
||||
}
|
||||
|
||||
table tbody tr:nth-child(even) {
|
||||
background-color: #dddddd;
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
<table id="call-treeTree">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th style="width: 70%;">Name</th>
|
||||
<th>Inc %</th>
|
||||
<th>Inc</th>
|
||||
<th>Exc %</th>
|
||||
@@ -138,7 +138,7 @@
|
||||
<table id="callersTree">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th style="width: 70%;">Name</th>
|
||||
<th>Inc %</th>
|
||||
<th>Inc</th>
|
||||
<th>Exc %</th>
|
||||
@@ -164,7 +164,7 @@
|
||||
<table id="calleesTree">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th style="width: 70%;">Name</th>
|
||||
<th>Inc %</th>
|
||||
<th>Inc</th>
|
||||
<th>Exc %</th>
|
||||
@@ -262,6 +262,12 @@
|
||||
stackDelegate.filters = $("#filtersForm").serialize(); // In case there are any default filter values set
|
||||
loadAndDisplayData(["by-name-list", "call-treeTree"], false);
|
||||
|
||||
$('#tabs').on('change.zf.tabs', function() {
|
||||
$("#" + $(".is-active table").attr("id")).colResizable({
|
||||
liveDrag: true
|
||||
});
|
||||
});
|
||||
|
||||
// Initialize callersTree and possibly set some properties
|
||||
$("#callersTree").treetable({
|
||||
expandable: true,
|
||||
|
||||
Reference in New Issue
Block a user