In it’s constructor I have initialized two Grid View Models for the searches named ObjectModelSearch and DataTableSearch. The data for ObjectModelSearch is represented as a list of objects whereas for DataTableSearch as ADO.NET Datatable.

To display a YUI datatable I have created following exntension method that takes YUIGridViewModel as parameter.