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.
Unfortunately, activation email could not send to your email. Please try again.

Integrate Drop Down List in Spread Sheet

Thread ID:





128235 Jan 10,2017 04:15 AM Jan 11,2017 02:29 AM JavaScript 1
Tags: ejSpreadSheet
Asked On January 10, 2017 04:15 AM


My Requirement are using Sync fusion Spread Sheet integrate drop down list on first row ,if possible then suggest please.


Silambarasan I [Syncfusion]
Replied On January 11, 2017 02:29 AM

Hi Kuldeep, 
Thank you for using Syncfusion products. 
We have checked your requirement “To integrate DropDownList on First Row in Spreadsheet” and it has been achieved by using ‘cellTypes’ API or ‘addCellTypes()’ client-side methods.  Please refer the following code example. 
<div id="Spreadsheet"></div> 
var dataSource = [...]; 
$(function () { 
        sheets: [{ 
            rangeSettings: [{ dataSource: dataSource, startCell: "A3" }], 
            cellTypes: [                         
                { 'range': 'A1', 'settings': { 'type': ej.Spreadsheet.CustomCellType.DropDownList, 'dataSourceRange': 'A3:A11' } } 
        loadComplete: "onLoadComplete" 
function onLoadComplete(args) { 
    if (!this.isImport) { 
        //using Client-side method to add dropdownlist 
        //this.XLCellType.addCellTypes("A1", { 'type': ej.Spreadsheet.CustomCellType.DropDownList, 'dataSourceRange': 'A3:A11' }); 
For your convenience, we have prepared a sample to demonstrate this in JS Playground.  Please refer the below sample link,  
For more information, please refer the below online help documentation & sample links about cell types data representation in Spreadsheet. 
Silambarasan I 


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.

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.