Need DB III
This commit is contained in:
		| @ -221,18 +221,30 @@ function loadHeaderGridRunInfo() { | ||||
|       DisplayWSMessage("error", "There was an error getting tooltype info.", e); | ||||
|     } | ||||
|   }); | ||||
|   $.ajax({ | ||||
|     type: "GET", | ||||
|     url: _apiUrl + "/pin/" + toolTypeID + "/pinned", | ||||
|     success: function (r) { | ||||
|       if ((r.Results == null) || (r.Results.HeaderId == null)) | ||||
|         DisplayWSMessage("error", "B) There was an error getting pinned info."); | ||||
|       else | ||||
|         DisplayWSMessage("info", r.Results.HeaderId); | ||||
|     }, | ||||
|     error: function (e) { | ||||
|       DisplayWSMessage("error", "There was an error getting pinned info.", e); | ||||
|     } | ||||
|   // $.ajax({ | ||||
|   //   type: "GET", | ||||
|   //   url: _apiUrl + "/pin/" + toolTypeID + "/pinned", | ||||
|   //   success: function (r) { | ||||
|   //     if ((r.Results == null) || (r.Results.HeaderId == null)) | ||||
|   //       DisplayWSMessage("error", "B) There was an error getting pinned info."); | ||||
|   //     else | ||||
|   //       DisplayWSMessage("info", r.Results.HeaderId); | ||||
|   //   }, | ||||
|   //   error: function (e) { | ||||
|   //     DisplayWSMessage("error", "There was an error getting pinned info.", e); | ||||
|   //   } | ||||
|   // }); | ||||
|   $("#PinnedGrid").igGrid({ | ||||
|     width: "70%", | ||||
|     height: "100%", | ||||
|     dataSource: _apiUrl + "/pin/" + toolTypeID + "/pinned", | ||||
|     responseDataKey: "Results", | ||||
|     tabIndex: 1, | ||||
|     features: [ | ||||
|       { name: "Selection", mode: "row", multipleSelection: false }, | ||||
|       { name: "Filtering", type: "local" }, | ||||
|       { name: "Sorting", type: "local" }, | ||||
|     ] | ||||
|   }); | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user