PDA

View Full Version : Editor Grid Example - invalid text tip not showing



snoop
29 May 2007, 1:05 PM
I have looked at the Editor Grid Example page (http://www.extjs.com/deploy/ext/examples/grid/edit-grid.html) from the API/Docs and have also tried it on my own server and everything works except the disabledDaysText (I've also tried adding text messages to the other fields on my local test instance with the same results). It does show the underline for an incorrect value (one that falls out of the valid range) that was typed in, but doesn't display the help text indicating why the field is invalid. One thing to note is that it shows the underline and the entire textbox is in red when an incorrect value is entered.

If you take a look at the blog entry (http://www.jackslocum.com/blog/2006/09/10/adding-built-in-editing-support-to-the-yahoo-ui-extensions-grid/) that Jack wrote, which i assume is what the example page is based off of, the invalid notice does display correctly.

Is there a trick to get this to work correctly or is there something missing in the example?

-Thanks.

jack.slocum
29 May 2007, 3:20 PM
QuickTips needs to be enabled/initialized.

Ext.QuickTips.init();

snoop
30 May 2007, 7:46 AM
Thanks for the quick response. Adding the init didn't make any difference. It still doesn't show the text.

I've included the html, js, and css files that I'm using to test with in the attached zip file. I'm using the Ext JS Library version 1.0.1 and related files, which I did not include in the zip.

jack.slocum
30 May 2007, 2:54 PM
It appears to be a bug in FireFox. The double click is not producing the normal flow of events (mousedown, mouseup, mousedown, mouseup) and the quicktips are stuck disabled. I put a workaround into SVN that fixes the issue.