Categories | Question details Back To List | ||||||||
DHTMLxGrid - Tooltip on filter input Greetings, I was wondering if it was possible to attach a tooltip the input element created using the 'filter' header options in dhtmlXGrid (eg #text_filter, #select_filter). In other words, when a user hovers over a 'text filter' or 'select filter' I'd like a tooltip to pop up explaining the functionality. Thanks in advance, Simon Answer posted by dhxSupport on Dec 03, 2009 01:58 In-build filters don't have such functionality. You can add custom inputs and select boxes to the header and add tooltips to them. Please find example here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/11_header_footer/02_grid_complexheader_content.html And tutorial here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:header_extra http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:filtering#creating_filter_for_grid Answer posted by Simon Irving on Dec 03, 2009 05:34 Thanks for your help! To reiterate, the solution is to create custom inputs (to which tooltips may be assigned) and 'turn them into filters'? Answer posted by Simon on Dec 04, 2009 03:14 Hello again, Thanks for the advice. I've implemented the filters as you've suggested and it works for 'free text' filters (based in input elements of type text) but not for 'drop down' filters (based on select elements). I've attached my source, and would be very grateful if you could point me in the right direction. Thanks again, Simon Attachments (1)
|