This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <stdio.h> | |
| #define BUFSIZE 100 | |
| int getch(void); | |
| void ungetch(int c); | |
| int buf[BUFSIZE]; /* buffer for ungetch */ | |
| int bufp = 0; /* next free position in buf */ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>@ViewBag.Title - echosteg</title> | |
| @Styles.Render("~/Content/css") | |
| @Scripts.Render("~/bundles/modernizr") | |
| </head> | |
| <body> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | @{ | |
| ViewBag.Title = "Home Page"; | |
| } | |
| @model IEnumerable<MVCDatatableApp.Models.Customer> | |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>@ViewBag.Title - MVC Datatables App</title> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $(document).ready(function () { | |
| $('#datatab tfoot th').each(function () { | |
| $(this).html('<input type="text" />'); | |
| }); | |
| var oTable = $('#datatab').DataTable({ | |
| "serverSide": true, | |
| "ajax": { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| ///This view model class has been referred from example created by Marien Monnier at Soft.it. All credits to Marien for this class | |
| namespace MVCDatatableApp.Models | |
| { | |
| /// <summary> | |
| /// A full result, as understood by jQuery DataTables. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| using System.Web.UI.WebControls; //For SortBy method | |
| using System.Web.Mvc; | |
| using MVCDatatableApp.Models; | |
| namespace MVCDatatableApp | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| using System.Web.Mvc; | |
| using MVCDatatableApp.Models; | |
| namespace MVCDatatableApp.Controllers | |
| { | |
| public class HomeController : Controller | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $(document).ready(function () { | |
| $('#datatab tfoot th').each(function () { | |
| $(this).html('<input type="text" />'); | |
| }); | |
| var oTable = $('#datatab').DataTable({ | |
| "serverSide": true, | |
| "ajax": { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!-- Change the below data attribute to play --> | |
| <div class="progress-wrap progress" data-progress-percent="25"> | |
| <div class="progress-bar progress"></div> | |
| </div> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var inherits = function (ctor, superCtor) { | |
| ctor.super_ = superCtor; | |
| Object.setPrototypeOf(ctor.prototype, superCtor.prototype); | |
| }; | |
| function Manager(managerName) { | |
| this.managerName = managerName; | |
| } |