Filter Row in ASP.NET MVC C1 FlexGrid

Posted by: matth on 14 September 2017, 3:34 am EST

  • Posted 14 September 2017, 3:34 am EST

    I really need to implement the filter row like feature to the c1 flex grid, can someone please point me to a sample for MVC?

    Thank you!

    Matt

  • Posted 18 September 2017, 1:21 am EST

    Hi,

    If you have installed ComponentOne Studio on your machine, you can browse the sample, MvcExplorer located @“Documents\ComponentOne Samples\ASP.NET MVC\MVC\CS\MvcExplorer”.

    You have to refer these two files:

    “Documents\ComponentOne Samples\ASP.NET MVC\MVC\CS\MvcExplorer\Views\FlexGrid\DetailRow.cshtml”, and

    “Documents\ComponentOne Samples\ASP.NET MVC\MVC\CS\MvcExplorer\Controllers\FlexGrid\DetailRowController.cs”

    ~nilay

  • Posted 21 September 2017, 11:18 am EST

    NOPE. I am sorry I said ‘filter row’ not ‘detail row’ I am looking for the same type of filter row functionality that you have in your WPF flexgrid control. Is there a way to have a filter row rather than just the filter icon? The extra steps for my users to filter is not that convenient. Your assistance is and has been appreciated.

    Thank you,

    Matt

  • Posted 21 September 2017, 10:22 pm EST

    Hi Matt,

    Please find the attached solution.

    filterRow.zip

    ~nilay

  • Posted 12 October 2017, 12:47 pm EST

    There are a few things that are wrong with that sample. You cannot filter multiple columns at once. The header is overridden with the name of the binding for the column. Otherwise, it is pretty close to what I am looking for, just not production ready. Please consider adding this as a feature to the MVC toolset. It is a very valuable tool.

    Thank you, Nilay otherwise. If you have a chance to improve it please post it back here. I will do the same.

  • Posted 14 March 2018, 3:40 pm EST

    Hi Matt,

    Sorry for seeing this late.

    You cannot filter multiple columns at once

    Can you describe this? How exactly should one filter multiple columns with this method?

    ~nilay

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels