This is a migrated thread and some comments may be shown as answers.

[Solved] GridPopUp stuck in right of the screen if use Editor

1 Answer 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gregoryy
Top achievements
Rank 1
Gregoryy asked on 12 Aug 2011, 12:54 AM
GridPopUpstuck in right of the screen if use Editor.
How a insert and edit pop-window. When I try dragging windows to left, expanding. Dragging only work up and down. It is bug?

1 Answer, 1 is accepted

Sort by
0
Quinten
Top achievements
Rank 1
answered on 07 Oct 2011, 06:06 PM
We had the same issue.  All the fixes I've found have been for Ajax editing, but we're using Server, and the client events apparently don't fire.

We worked out a fix--it's a big of a kluge, but it works.  The problem is that the GridPopUp element is positioned incorrectly.  The div is positioned at "left: 50%, left-margin: -xxx"  xxx comes out to a quarter of the size of your editor, but it should be half.  We used this script to change it.  We're basing this on a 1000px editor, change yours accordingly.

    <script type="text/javascript" lang="javascript">
        $(document).ready(function () {
            $('#GridPopUp').css({ 'margin-left''-500px'});
        });
 
    </script>
Tags
Grid
Asked by
Gregoryy
Top achievements
Rank 1
Answers by
Quinten
Top achievements
Rank 1
Share this question
or