2 models in 1 gridview

hello there! i have 2 related models and i want to have a gridview that displays and searches all the attributes each model. thanks :)