PDA

View Full Version : Adding input boxes to grid column headers



chernomorez
27 Jul 2007, 1:09 PM
I am trying to add input and combo boxes to the grid column headers for the purpose of server-side filtering. I've done it by using setColumnHeader off of columnModel object, and drawing HTML for the text box there. However that didn't work quite well, as I couldn't even enter data in input box in IE. Moreover, it looked horrible.
Next thing I've tried was placing textboxes on the headerBar, but it still looks weird, and cannot be resized if the columns are resized.

Any better ideas how to place elements inside the column headers?