bugfix
This commit is contained in:
parent
28446fd6f0
commit
9630c27ec0
45
3parties/echarts.min.js
vendored
Normal file
45
3parties/echarts.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
3parties/videojs.record.min.css
vendored
Normal file
3
3parties/videojs.record.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@ SOURCES=" page_data_loader.js factory.js uitypesdef.js utils.js uitype.js \
|
||||
markdown_viewer.js video.js audio.js toolbar.js tab.js \
|
||||
input.js registerfunction.js button.js accordion.js dataviewer.js \
|
||||
tree.js multiple_state_image.js dynamiccolumn.js form.js message.js conform.js \
|
||||
paging.js datagrid.js iframe.js cols.js \
|
||||
paging.js datagrid.js iframe.js cols.js echarts_ebeding.js \
|
||||
floaticonbar.js miniform.js wterm.js dynamicaccordion.js \
|
||||
llm_dialog.js llm.js websocket.js datarow.js tabular.js "
|
||||
echo ${SOURCES}
|
||||
|
@ -72,11 +72,13 @@ bricks.DataViewer = class extends bricks.VBox {
|
||||
build_records_area(){
|
||||
this.filler_widget = new bricks.Filler({});
|
||||
this.add_widget(this.filler_widget)
|
||||
this.scrollpanel = new bricks.VBox({});
|
||||
this.scrollpanel = new bricks.VScrollPanel({});
|
||||
/*
|
||||
this.scrollpanel.set_css('scrollpanel');
|
||||
this.scrollpanel.set_style('height','100%');
|
||||
this.scrollpanel.set_style('width','100%');
|
||||
this.scrollpanel.set_style('overflow','auto');
|
||||
*/
|
||||
this.filler_widget.add_widget(this.scrollpanel);
|
||||
}
|
||||
async renderPageData(data, page){
|
||||
@ -284,6 +286,7 @@ bricks.DataViewer = class extends bricks.VBox {
|
||||
}
|
||||
}
|
||||
async load_previous_page(){
|
||||
// console.log('tabular:load_previous_page() called');
|
||||
if (this.loading){
|
||||
bricks.debug('this.loading is set, do not thing');
|
||||
return;
|
||||
@ -306,6 +309,7 @@ bricks.DataViewer = class extends bricks.VBox {
|
||||
running.dismiss();
|
||||
}
|
||||
async load_next_page(){
|
||||
// console.log('tabular:load_next_page() called');
|
||||
if (this.loading){
|
||||
bricks.debug('this.loading is set, do not thing');
|
||||
return;
|
||||
|
@ -16,6 +16,7 @@
|
||||
<script src="//cdn.bootcdn.net/ajax/libs/eruda/2.3.3/eruda.js"></script>
|
||||
<script>eruda.init();</script>
|
||||
-->
|
||||
<script src="{{entire_url('/bricks/3parties/echarts.min.js')}}"></script>
|
||||
<script src="{{entire_url('/bricks/3parties/marked.min.js')}}"></script>
|
||||
<script src="{{entire_url('/bricks/3parties/xterm.js')}}"></script>
|
||||
<script src="{{entire_url('/bricks/3parties/video.min.js')}}"></script>
|
||||
|
@ -24,6 +24,7 @@ bricks.HScrollPanel = class extends bricks.HBox {
|
||||
constructor(opts){
|
||||
opts.width = '100%';
|
||||
opts.height = '100%';
|
||||
opts.css = 'scrollpanel';
|
||||
opts.overflow = 'auto';
|
||||
super(opts);
|
||||
this.min_threshold = opts.min_threshold || 0.01;
|
||||
@ -61,6 +62,7 @@ bricks.VScrollPanel = class extends bricks.VBox {
|
||||
constructor(opts){
|
||||
opts.width = '100%';
|
||||
opts.height = '100%';
|
||||
opts.css = 'scrollpanel';
|
||||
opts.overflow = 'auto';
|
||||
super(opts);
|
||||
this.min_threshold = opts.min_threshold || 0.02;
|
||||
|
Loading…
Reference in New Issue
Block a user