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

Sizing the Editor view

2 Answers 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Reid
Top achievements
Rank 2
Reid asked on 28 Mar 2018, 04:55 PM

I cannot figure out how to override the overall container size of a Grid Editor. So I have the custom types in the ~/Shared folder and while they all show in edit mode they are many times to small in width.  Yet setting the style of the wrapper div the controls are in has no effect.  Is there a style I need to override in each view?

 

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi
Telerik team
answered on 02 Apr 2018, 07:08 AM
Hello Reid,

A possible solution to adjust the dimensions of the popup editor is to use the Editable.Window method.

e.g.
.Editable(editable => editable.Mode(GridEditMode.PopUp).TemplateName("Template").Window(x=> x.Width(1000).Height(500)))

For your convenience I am attaching a sample which demonstrates the above approach.

Please examine it and let me know how it works for you.

I look forward to your reply.


Regards,
Georgi
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Reid
Top achievements
Rank 2
answered on 02 Apr 2018, 01:57 PM
Thank you for that.  It works fine.
Tags
Grid
Asked by
Reid
Top achievements
Rank 2
Answers by
Georgi
Telerik team
Reid
Top achievements
Rank 2
Share this question
or