Filter Row in ASP.NET MVC C1 FlexGrid

Posted by: matth on 14 September 2017, 12:34 pm EST

  • Posted 14 September 2017, 12:34 pm 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
  • Replied 18 September 2017, 10: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
  • Replied 21 September 2017, 8:18 pm 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
  • Replied 22 September 2017, 7:22 am EST

    Hi Matt,

    Please find the attached solution.

    filterRow.zip

    ~nilay
  • Replied 12 October 2017, 9: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.
  • Replied 15 March 2018, 12:40 am 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