Home > front end >  BootstrapTable in the top right of the "refresh", "switch", "columns"
BootstrapTable in the top right of the "refresh", "switch", "columns"

Time:10-11

CodePudding user response:

Look at the style is not same

CodePudding user response:

I see I used the bootstrap - table. About this part three buttons in js source code, the following
The third button is, indeed, be a div containing, but guess what, bootstrapTable is good thing, not to people who want to use to modify the source code, can be achieved to style, so, think, are some yourself don't know the properties of no use, cause, three button sizes?

CodePudding user response:

refer to the second floor weixin_36601760 response:
I see I used the bootstrap - table. About this part three buttons in js source code, the following
The third button is, indeed, be a div containing, but guess what, bootstrapTable is good thing, not to people who want to use to modify the source code, can be achieved to style, so, think, are some yourself don't know the properties of no use, cause, three button sizes?

I also have this problem before, I also have seen style and to mend the source code in order to solve of, now I also don't know why

CodePudding user response:

At first, has been focusing on bootstrapTable attributes, thought it was certain attributes application error, or there is no use in place, until I read an article about bootstrapTable compatible with Internet explorer, when it comes to the problem of the Jquery library, I use is
<script SRC="https://bbs.csdn.net/topics//yumstonemanage/js/jquery-2.0.0.min.js" & gt; </script>
Then use the
<script SRC="https://bbs.csdn.net/topics/js/bootstrap/jquery-1.12.0.min.js" & gt; </script>
Problem solving,

CodePudding user response:

Weixin_36601760
reference 4 floor response:
at first, has been focusing on bootstrapTable attributes, thought it was certain attributes application error, or there is no use in place, until I read an article about bootstrapTable compatible with IE posts, start when it comes to the problem of the Jquery library, I use the
<script SRC="https://bbs.csdn.net/topics//yumstonemanage/js/jquery-2.0.0.min.js" & gt; </script>
Then use the
<script SRC="https://bbs.csdn.net/topics/js/bootstrap/jquery-1.12.0.min.js" & gt; </script>
Problem solving and


I change the jquery from 3.2.1 1.12.4 didn't also can solve the problem,,,,

CodePudding user response:

Weixin_36601760
reference 4 floor response:
at first, has been focusing on bootstrapTable attributes, thought it was certain attributes application error, or there is no use in place, until I read an article about bootstrapTable compatible with IE posts, start when it comes to the problem of the Jquery library, I use the
<script SRC="https://bbs.csdn.net/topics//yumstonemanage/js/jquery-2.0.0.min.js" & gt; </script>
Then use the
<script SRC="https://bbs.csdn.net/topics/js/bootstrap/jquery-1.12.0.min.js" & gt; </script>
Problem solving and

Plugin with is not good, I usually change the plugin

CodePudding user response:

The same problem with you, I introduce the bootstrap rely on jQuery still doesn't work,,,,,,,,,,,

CodePudding user response:

Weixin_36601760
reference 4 floor response:
at first, has been focusing on bootstrapTable attributes, thought it was certain attributes application error, or there is no use in place, until I read an article about bootstrapTable compatible with IE posts, start when it comes to the problem of the Jquery library, I use the
<script SRC="https://bbs.csdn.net/topics//yumstonemanage/js/jquery-2.0.0.min.js" & gt; </script>
Then use the
<script SRC="https://bbs.csdn.net/topics/js/bootstrap/jquery-1.12.0.min.js" & gt; </script>
Problem solving and


Still won't do

CodePudding user response:

Convert into 1.12.0 or no change..

CodePudding user response:

An inefficient method is used to solve the problem, find the refresh button is defined as

Then cao the following methods to format setting
//1, to get all the button object
Var button=document. GetElementsByTagName (" button ");
//2, traverse these objects to find the name is the object of the "refresh"
//3, give the object set the method of a unique id and then use js to the id object set the height, width can be
for(i=0; iIf (button [I]. Name=='refresh') {
The button [I]. Id='toolbar_refresh';
Document. The getElementById (' toolbar_refresh). Style, height=34;
Document. The getElementById (' toolbar_refresh). Style. The width=52;
}
}

CodePudding user response:

An inefficient method is used to solve the problem, find the refresh button is defined as

Then according to the following method to format setting
//1, to get all the button object
Var button=document. GetElementsByTagName (" button ");
//2, traverse these objects to find the name is the object of the "refresh"
//3, give the object set the method of a unique id and then use js to the id object set the height, width can be
for(i=0; iIf (button [I]. Name=='refresh') {
The button [I]. Id='toolbar_refresh';
Document. The getElementById (' toolbar_refresh). Style, height=34;
Document. The getElementById (' toolbar_refresh). Style. The width=52;
}
}

CodePudding user response:

H4 statement instead of H5
  • Related