Reputation: 103
i have a multi date picker in a MVC page after picking multiple dates it will show the result in text box , i want take the text box result and place it in a table by sorting the result using commas for example i have 10/01/2015, 10/04/2015, 10/08/2015, 10/12/2015, 10/14/2015 dates and my result should display in a table as shown below
<table>
<tr>
<td>10/01/2015</td>
<td>10/04/2015</td>
.....
</tr>
</table>
Upvotes: 1
Views: 107
Reputation: 152206
Let's assume that your dates model is dates
and stores an array of picked dates:
<table>
<tr>
<td ng-repeat="date in dates">{{ date }}</td>
</tr>
</table>
Upvotes: 1