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
import React, {Component, PropTypes} from 'react'; | |
class $NAME extends Component { | |
constructor(props, context){ | |
super(props, context); | |
} | |
render(){ | |
return ( | |
<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; | |
ctor.prototype = Object.create(superCtor.prototype, { | |
constructor: { | |
value: ctor, | |
enumerable: false, | |
writable: true, | |
configurable: true | |
} | |
}); |
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; | |
} |
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
$(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; | |
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
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; | |
///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
$(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
@{ | |
ViewBag.Title = "Home Page"; | |
} | |
@model IEnumerable<MVCDatatableApp.Models.Customer> | |
<!doctype html> | |
<html> | |
<head> | |
<title>@ViewBag.Title - MVC Datatables App</title> |
NewerOlder