Creating Extension Methods

A useful feature of C# is the ability to add functionality to existing classes. For example, you might want a reverse function on the String class. You would then be able to call your new function this way: myString.Reverse().

Continue reading »

Filter ng-Grid on keypress

Ng-Grid is the easiest way to add a sortable and filterable grid to your web application. I have used jqGrid in the past and this is by far easier to work with. Today I am going to demonstrate how to add filtering to your ng-Grid, and as a bonus I am going to do it on keypress. So the grid will filter as you type in the search box without the need for a pesky button.

Continue reading »