MVC using Angularjs RRS feed

  • Question

  • Hi , 

    This is sai kumar

    can any body please help me to perform column wise filtering in angularjs using ng grid.

    By default ng grid provides global search for filtering [row wsie].

    But my requriement is how to do filters for column wise.[not row wise].

    Example: Code


                  $scope.filterOptions = {
                    filterText: $scope.miinput,
                    useExternalFilter: true

     $scope.pagingOptions = {
                    pageSize: 5,
                    currentPage: 1


                $scope.gridOptions = {
                    data: 'groupList',
                    multiSelect: false,
                   columnDefs: 'myColumns',
                    rowHeight: 50,
                    headerRowHeight: 50,
                    enablePaging: true,
                    showFilter: true,   -->it provides global search[ row wise]..but i need column
                    showFooter: true,


                $scope.myColumns = [

                      { field: 'ID', displayName: 'ID', width: 166.67, visible: true}, /
                      { field: 'Name', displayName: 'Name', width: 166.67},
                      { field: 'Designation', displayName: 'Designation', width: 166.67},
                      { field: 'Mobile', displayName: 'Mobile', width: 166.67}

    Thanks in advance

    Wednesday, July 19, 2017 5:59 AM

All replies

  • Go to forums.asp.net. It will solve your problem:)

    ASP.NET Forum
    FreeRice Donate
    Issues to report

    Wednesday, July 19, 2017 9:17 AM
  • Hi Sai Kumar Madanapali,

    This forum discusses and asks questions about .NET Framework Base Classes, Since your issue is more related to asp.net, I would suggest that you could post your issue on asp.net forum for suitable support.


    Thanks for your understanding.

    Best regards,

    Cole Wu

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, July 20, 2017 6:55 AM