We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add third party dropdown control in grid

Thread ID:

Created:

Updated:

Platform:

Replies:

146972 Aug 27,2019 09:38 AM UTC Sep 17,2019 01:19 PM UTC Angular - EJ 2 5
loading
Tags: Grid
AKBAR
Asked On August 27, 2019 09:38 AM UTC

Hi,
Is it possible to add any third party dropdown (e.g - ng-select) control inside the grid?

Thanks 

Balaji Sekar [Syncfusion]
Replied On 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. 


AKBAR
Replied On August 30, 2019 08:36 AM UTC

Hi Balaji,
Thanks for your support.
My requirement is at editing state.

Regards 
Akbar

Dhivya Rajendran [Syncfusion]
Replied On 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 



AKBAR
Replied On 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>

Thavasianand Sankaranarayanan [Syncfusion]
Replied On 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. 



Regards, 
Thavasianand S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon