1

ExtJS grid filter plugin passes filter data in the array (via POST) with such fields:

filter[0][field] => Id
filter[0][data][value] => 42
filter[0][data][type] => integer

What is the simplest way to retrieve all N filter sets in asp.net (mvc2)

1 Answer 1

1

essentially you make a object which matches the desired structure and names required

class typeA
{ 
  int value;
  string type;
}

class typeB
{
   typeA data; 
}

class typeC
{
  List<typeB> filter
}

then use typeC as the input for the for the controler.

Sign up to request clarification or add additional context in comments.

1 Comment

Even though it is not already actual now, I'll check you :-) Thanks for the reply ;-)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.