jQWidgets Forums

jQuery UI Widgets Forums General Discussions ASP .NET MVC Filtering rows with strings and number does not work in asp.net c#

This topic contains 0 replies, has 1 voice, and was last updated by  Novato 6 years, 3 months ago.

Viewing 1 post (of 1 total)
  • Author

  • Novato
    Participant

    Hello, I have a column in my jqxGrid generated dynamically to which I apply row filtering but this does not work. I work in asp.net c #. The data I have in my columns are these:

     OD 20 
      AM25387 Texas
      AM25387 Chicago
      U
      Y
    

    This is my code

      
     <script type="text/javascript" src="scripts/jqwidgets/jqxgrid.filter.js"></script> 
    
     for (var i in valores[0]) {
                        datafields_bonos.push({ name: i });
                        columns_bonos.push({ text: i, filtercondition: 'CONTAINS', datafield: i, width: 250 });
                    }
    
    $("#gvDatosBI").jqxGrid({
                    width: 1030,
                    columnsresize: true,
                    autoheight: true,
                    autorowheight: true,
                    altrows: true,
                    rowsheight: 35,
                    pageable: true,
                    sortable: true,
                    showfilterrow: true,
                    filterable: true,
    
    

    Thanks.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.