1

following is the plunker link plunker

<div ng-app>
  <div ng-controller="myCtrl">
    <button ng-click="exportData()">Export</button>
    <br />
    <div id="exportable">
      <label class="control-label">Color</label>
      <select name="color" ng-model="inv.ColorId" id="color" required class="form-control" data-placeholder="Select the Color">
        <option value="" disabled selected>Select the color
        </option>
        <option value={{color.Id}} ng-repeat="color in ColorList | orderBy:'ColorName'">
          {{color.ColorName}}
        </option>
      </select>
      <table width="100%">
        <thead>
          <tr>
            <th>Name</th>
            <th>Email</th>
            <th>DoB</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="item in items">
            <td>{{item.name}}</td>
            <td>{{item.email}}</td>
            <td>{{item.dob | date:'MM/dd/yy'}}</td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</div>

i hv binded the working api to bind values to dropdown however not getting the dropdown in exported excel sheet . Any help with this ?

xkeshav
  • 53,360
  • 44
  • 177
  • 245
SAN
  • 326
  • 6
  • 23

0 Answers0