Skip to content

Commit dcdf748

Browse files
pxoralehander92
authored andcommitted
fix: Tracepoint DataTables2 default issues
1 parent e54117d commit dcdf748

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

src/frontend/ui/trace.nim

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,19 @@ proc renderTableResults(
334334
scrollY: 150,
335335
processing: true,
336336
fixedColumns: true,
337+
info: false,
338+
lengthChange: false,
339+
search: false,
340+
label: false,
341+
layout: js{
342+
top: nil,
343+
topStart: nil,
344+
topEnd: nil,
345+
bottom: nil,
346+
bottomStart:nil,
347+
bottomEnd: nil
348+
},
349+
pageLength: -1,
337350
scroller: true,
338351
scrollerCollapse: true,
339352
bInfo: false,

src/frontend/ui/trace_log.nim

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@ proc refreshTraces(self: TraceLogComponent) =
3030
deferRender: true,
3131
scrollY: 200,
3232
scroller: true,
33+
info: false,
34+
lengthChange: false,
35+
search: false,
36+
label: false,
37+
layout: js{
38+
top: nil,
39+
topStart: nil,
40+
topEnd: nil,
41+
bottom: nil,
42+
bottomStart:nil,
43+
bottomEnd: nil
44+
},
45+
pageLength: -1,
3346
order: @[[0.toJs, (cstring"asc").toJs]],
3447
colResize: js{
3548
isEnabled: true,

0 commit comments

Comments
 (0)