CSS classes for DropDownList ?
I need to customize the DropdownList Component.
Attachment: Screenshot_20210108_153050_6c1505ea.zip
I want to increase its size.
I was able to increase the main part but then the list gets cut off. (attached screenshot)
Is there any CSS Documentation of all the components? I can find it
Attachment: Screenshot_20210108_153050_6c1505ea.zip
SIGN IN To post a reply.
3 Replies
1 reply marked as answer
BC
Berly Christopher
Syncfusion Team
January 11, 2021 12:52 PM UTC
Hi Stefan,
Greetings from Syncfusion support.
Query 1:
I need to customize the DropdownList Component.
I want to increase its size.
I was able to increase the main part but then the list gets cut off. (attached screenshot)
Response:
We can customize the DropDownList popup component with help of the PopupWidth and PopupHeight property as mentioned below code example.
|
<SfDropDownList TValue="string" TItem="Countries" Placeholder="e.g. Australia" DataSource="@Country" PopupHeight="350px" PopupWidth="550px">
<DropDownListFieldSettings Text="Name" Value="Code"></DropDownListFieldSettings>
</SfDropDownList> |
Query 2:
Is there any CSS Documentation of all the components? I can find it
Response:
|
Component |
Documentation Link |
|
ListView |
|
|
Tooltip |
|
|
Range slider |
|
|
DashboardLayout |
|
|
Sidebar |
|
|
Grid |
|
|
Dialog |
|
|
Inplace-editor |
|
|
RichTextEditor |
|
|
Splitter |
|
|
Toast |
|
|
Spinner |
|
|
Calendar components |
We will add the information in UG in Volume 4 SP release |
|
DropDown Components |
We will add the information in UG in Volume 4 SP release |
|
Input components |
We will add the information in UG in Volume 4 SP release |
|
Uploader |
We will add the information in UG in Volume 4 SP release |
|
Chart |
CSS styles is not applicable for chart component. We are using API for customizations. |
|
TextBox |
Regards,
Berly B.C
Marked as answer
KV
kevin vickers
February 8, 2021 09:05 PM UTC
You say the CSS definition will be available "We will add the information in UG in Volume 4 SP release " do we know when this will be .. trying to change a dropdown background and font with css doesnt seem to work
BC
Berly Christopher
Syncfusion Team
February 9, 2021 11:23 AM UTC
Hi Kevin,
The changed not included in the Volume 4 SP 1 release. We will intimate once the documentation will be published in online. Also, we can change the font and background of the DropDownList component as mentioned below.
|
<style>
.e-custom.e-input-group.e-control-wrapper {
background: #cec6c6;
font-size: 10px;
}
</style> |
Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Blazor_DropDown_App_Background-1442346685
Regards,
Berly B.C
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
- Marked answer
-
SH Stefan Heimbach
- Jan 8, 2021 02:33 PM UTC
- Feb 9, 2021 11:23 AM UTC