Well, this doesn't have a simple answer because IWGrid cells are TD HTML tags, and the hint is the title attribute. There is no reliable way to make the title attribute break lines across browsers. It is doable in IE but not in Firefox, for instance.
Include qTip files in your IWFormEach form rendered that will use qTip hints need to include qTip files (qTip.js and qTip.css). This is done using one of my utility classes TIWContextHelper (file included in the download), in the FormRender event:
2) If the default sub-folders are kept, then you have to set AllowSubFolder of your ServerController instance to TRUE.
Deploy your applicationYou will have to deploy qTip.js and qTip.css with your application, inside the sub-folders used in step 1. And you are done!
TestingThis is a test using the default "Features" Intraweb demo. I've set the hints to a multi-line string, for each cell in the grid:
Download simple demoYou can download a simple demo with all required files here.
Further notes1) The project was created using Delphi 2006 + IW 10.0.23 but should run in newer versions without problems.
2) qTip, as included in the zip file, will "qTip-ize" a, label, input and td HTML tags. If you want to add other tags, modify the qTipTag var, inside qTip.js file.
3) Hint windows style can be customized editing qTip.css file.