ComponentOne MVC Flexgrid Databinding


I have a Flexgrid on a page. I want to do some custom filtering. I created a Filter ActonResult. In it I have created the filtered dataset. How do I send the data back to the page? If I return a view I don't get any updated data. Is there a way to send the data back to the page in Json and update via javascript?

By : kereberos


I think you can use the ReadActionUrl to implement it.

In Controller, you can write the below similar Filter action.

public ActionResult Filter([C1JsonRequest] CollectionViewRequest
By : Ryan

I'd suggest you to use jQuery.ajax. You can call the action through the url attribute, get the filtered data in the 'success' callback and set the returned data as the itemssource of FlexGrid.

More info here and here

By : AbdiasM

This video can help you solving your question :)
By: admin