Given the following data model:
Product
Id (int)
Name (string)
VapourPressure (double)
Components (IEnumerable<Component>)
Component
Id (int)
Name (string)
I want to create a grid using these that displays the data. In this case Name, VapourPressure, Components. The components should be displayed in a HTML list. Of course I want to be able to filter on the presence of 'components' in the Components.
My current code is attached.
I have got displaying the components working, although I needed a workaround because any '+' characters are stripped from the template parameter. If there is another way to do this I would like to hear it.
What I don't have working is the filtering on components. First of all the drop down doesn't work correctly because the options loaded from AJAX are not shown. If the dropdown is instantiated outside the grid everything works fine. How do I get the dropdown working?
Product
Id (int)
Name (string)
VapourPressure (double)
Components (IEnumerable<Component>)
Component
Id (int)
Name (string)
I want to create a grid using these that displays the data. In this case Name, VapourPressure, Components. The components should be displayed in a HTML list. Of course I want to be able to filter on the presence of 'components' in the Components.
My current code is attached.
I have got displaying the components working, although I needed a workaround because any '+' characters are stripped from the template parameter. If there is another way to do this I would like to hear it.
What I don't have working is the filtering on components. First of all the drop down doesn't work correctly because the options loaded from AJAX are not shown. If the dropdown is instantiated outside the grid everything works fine. How do I get the dropdown working?