- Home
- Forum
- Angular - EJ 2
- Add third party dropdown control in grid
Add third party dropdown control in grid
SIGN IN To post a reply.
5 Replies
BS
Balaji Sekar
Syncfusion Team
August 30, 2019 01:15 AM UTC
Hi Akbar,
Before proceeding further, we need to confirm that whether you want to bind dropdown in intial rendering of Grid or editing state. Please share the details to us it will help to validate further.
Regards,
Balaji S.
AK
AKBAR
August 30, 2019 08:36 AM UTC
Hi Balaji,
Thanks for your support.
My requirement is at editing state.
Regards
Akbar
DR
Dhivya Rajendran
Syncfusion Team
September 2, 2019 06:53 AM UTC
Hi Akbar,
Thanks for sharing the details.
By default, we have provided editTemplate option to use custom component in Grid edit form. Please refer the below help documentation for more information.
We also provided dropdown edit(with syncfusion dropdownlist) option for grid, please refer the below help documentation for more information about grid edit types.
Please get back to us if you need further assistance from us.
Regards,
R.Dhivya
AK
AKBAR
September 16, 2019 02:41 PM UTC
Thanks for your support,
I am able to render controls inside grid using template but properties binding is not working.
Here is my sample code
<e-column field='OrderDate' headerText='Section' width=150>
<ng-template #editTemplate let-data>
<ng-select [items]="recipeDropDown" bindLabel="displayvalue" bindValue="savedvalue"
placeholder="Select Section">
</ng-select>
</ng-template>
</e-column>
TS
Thavasianand Sankaranarayanan
Syncfusion Team
September 17, 2019 01:19 PM UTC
Hi Akbar,
Thanks for your update.
As per the provided information, we have created a sample and render the ng-select component in Grid using editTemplate property and there is a positioning problem in ng-select component.
Please refer the attachment for more information the dropdown panel are not shown properly in grid edit form.
|
|
Could you please share is there any specific reason for using ng-select ? if not then we suggest you to use the syncfusion dropDownList component instead of ng-select to resolve the problem.
Please refer the below help documentation for more information about dropdown component and grid edit types.
https://ej2.syncfusion.com/angular/documentation/grid/edit/?no-cache=1#cell-edit-type-and-its-params
Regards,
Thavasianand S.
SIGN IN To post a reply.
- 5 Replies
- 4 Participants
-
AK AKBAR
- Aug 27, 2019 09:38 AM UTC
- Sep 17, 2019 01:19 PM UTC