Sivakumar

Sivakumar

  • 1.5k
  • 546
  • 170.4k

modal popup not binding data

Nov 27 2015 1:57 AM
Hi
 
I am using angularjs mvc.
 
I binding data to grid but when select row in grid then open a update modal popup but in this popup not showing any data.
 
This is my code :
 
<tbody data-ng-repeat="job in jobList">
<tr>
<td style="white-space:nowrap"><a data-toggle="modal" data-ng-click="editJob(job)" href="#myModal">{{job.JobID}}</a></td>
<td style="white-space:nowrap"><a data-toggle="modal" href="#myModal">{{job.Title}}</a></td>
<td class="sorting_1" style="white-space:nowrap">{{job.MustHaveSkills}}</td>
<td style="white-space:nowrap" class="text-center">{{job.Experience}}</td>
<td style="white-space:nowrap" class="text-center">{{job.Vacancies}}</td>
<td style="white-space:nowrap">{{job.Location}}</td>
<td style="white-space:nowrap">{{job.ContactCompany.Name}}</td>
<td style="white-space:nowrap">{{job.Rate}}</td>
<td style="white-space:nowrap">{{job.Recruiter}}</td>
<td style="white-space:nowrap">{{job.AccountManager.FirstName}}</td>
<td style="white-space:nowrap">{{job.CreatedDate}}</td>
<td style="white-space:nowrap">
<a class="panel-reload" data-original-title="Selected/ Submitted/ Gathered" title="" data-placement="top" data-toggle="tooltip" href="javascript:void(0);">
3/2/9
</a>
</td>
<td style="white-space:nowrap"><span><a href=""><i class="fa fa-copy" alt="Copy Job" title="Copy Job"> </i></a></span> <span><a href=""><i class="fa fa-close" alt="Close" title="Close"> </i></a></span> <span><a href="#"><i class="fa fa-user-plus" alt="Attach Candidate" title="Attach Candidate" data-toggle="modal" href="#attachcandidate"> </i></a></span></td>
</tr>
</tbody>