Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $( document ).ready(function() {
- if ($("tbody:contains('Drag a column header')").eq(1).length) // Check to see if the report grid is present
- {
- if ($('[id$="buttonPanel_"]').length) // this selector works for lists
- {
- $('[id$="buttonPanel_"]').clone().appendTo($("tbody:contains('Drag a column header')").eq(1));
- }
- if ($('[id$="buttonPanel_dgTable"]').length) // this selector works for Report Grid From SPROCs
- {
- $('[id$="buttonPanel_dgTable"]').clone().appendTo($("tbody:contains('Drag a column header')").eq(1));
- }
- }
- }
- );
- </script>
- <style>
- .buttonPanel, .rgWrap.rgInfoPart
- {
- float: left !important;
- }
- .buttonPanel a
- {
- margin: 8px;
- }
- </style>
Add Comment
Please, Sign In to add comment