What is the datasource to connect dropdown to the sample json in the documents

Hi,

Please advise how we can achieve these:

1- What is the datasource for connecting "country" dropdown in inline editing grid sample 

https://ej2.syncfusion.com/react/demos/#/material/grid/normal-edit

2- How can we add a "+" button beside dropdown cell in grid to allow user to add a new record in the dropdown

3- How can we have tooltip for the grid column.

I would appreciate your comments asap.




1 Reply 1 reply marked as answer

AG Ajith Govarthan Syncfusion Team January 26, 2021 06:11 AM UTC

Hi Afshin, 
 
Thanks for contacting Syncfusion support. 
 
Query: What is the datasource for connecting "country" dropdown in inline editing grid sample 
 
By default, in our EJ2 grid when you set the editType as “dropdownedit” then the dropdown component will be rendered with grid column data. However, you can change the dataSource of the dropdown using the edit and params property of the column. For your convenience we have attached the documentation so please refer them for your reference. 
 
 
Query: How can we add a "+" button beside dropdown cell in grid to allow user to add a new record in the dropdown. 
 
Based on your query we suspect that you want to add “+” button in the dropdown. Before we proceed to your query, we need the below details to provide you the prompt solution at the earliest.  
 
  1. Share the complete grid code example.
 
  1. Share the screenshot or video demonstration of your requirement.
 
  1. Please let us know more details on the use case of adding the “+” button.
 
  1. Share the Syncfusion package version.
 
Query: How can we have tooltip for the grid column. 
 
Based on your query you need to show tooltip for grid columns. So, we have attached the documentation for showing the tooltip in the grid columns. Please refer the below documentation for your reference. 
 
UG-Links: 
 
Regards, 
Ajith G. 


Marked as answer
Loader.
Up arrow icon