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

[Solved] Popup Mode Editing In Grid Alaignment Issue When Using Large No Of Fields

2 Answers 137 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pradeep N
Top achievements
Rank 1
Pradeep N asked on 25 Sep 2010, 11:18 AM
Hi,
I am using Nested Grid- Popup mode editing/add feature.
If the fields are less than 5 the alignments are correct, If more than that insert button is displaying at the 5th row which messes the alignment.
I have attached the screen shot for your reference.

I have added the following css from the online demo.
/* in-form editing */
    .t-edit-form-container
    {
        width: 350px;
        margin: 1em;
    }
     
    .t-edit-form-container .editor-label,
    .t-edit-form-container .editor-field
    {
        padding-bottom: 1em;
        float: left;
    }
     
    .t-edit-form-container .editor-label
    {
        width: 30%;
        text-align: right;
        padding-right: 3%;
    }
     
    .t-edit-form-container .editor-field
    {
        width: 60%;
    }


Thanks,
Pradeep.

2 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 27 Sep 2010, 03:26 PM
Hi Pradeep,

The issue is caused by the long field name (and specifically, its label). You can address the problem either by adding clear: left; to the .t-edit-form-container .editor-label rule, like this:

.t-edit-form-container .editor-label
{
    width: 30%;
    text-align: right;
    padding-right: 3%;
    clear: left;
}

Greetings,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Pradeep N
Top achievements
Rank 1
answered on 28 Sep 2010, 12:42 PM
Hi,
That fixed the my problem.
Thanks for the resolution.
Regards,
Pradeep.
Tags
General Discussions
Asked by
Pradeep N
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Pradeep N
Top achievements
Rank 1
Share this question
or