| Previous · Next | |
| User | Message |
|
ampli
|
Date: 7/1/2011 7:40 pm · Subject: Suggested implementation of new type of columns in DataTable: textarea and HTMLarea · Rating: 0
Hello everyone, I implemented two new types of columns in the DataTable asset.
You can play with it by pulling it from my git repository ampli/webgui.git, at github.org, master branch, commit d923aa0390. Additional ideas to improve it further:
|
| Back to Top |
Rate [ | ]
|
|
ampli
|
Date: 7/2/2011 6:36 am · Subject: Re: Suggested implementation of new type of columns in DataTable: textarea and HTMLarea · Rating: 0
I found that on IE it corrupts the table (at least with IE9). I will fix that. On FF and Chrome it seems to work fine. Amir |
| Back to Top |
Rate [ | ]
|
|
preaction
|
Date: 7/5/2011 9:34 am · Subject: Re: Suggested implementation of new type of columns in DataTable: textarea and HTMLarea · Rating: 0
Looks great so far! Just let us know when we should pull in a set of changes. |
| Back to Top |
Rate [ | ]
|
|
ampli
|
Date: 7/5/2011 11:53 am · Subject: Re: Suggested implementation of new type of columns in DataTable: textarea and HTMLarea · Rating: 0
The mentioned problem in IE9 (corrupts the table on save) still exists. I tried to debug it and found these things:
Another difference is that on IE9, the submit function of the form is patched by TinyMCE for the save function, but on Chrome I didn't find this patch (even though the content of TinyMCE is saved). As a test I disabled TinyMCE and the problem then still existed. Both version 7 and 8 use the same YUI version (2.8.0r4), so the problem doesn't seem to be due to YUI, but in any case I will try 2.9.0 since it fixes some IE9 issues. Amir |
| Back to Top |
Rate [ | ]
|
|
preaction
|
Date: 7/6/2011 10:21 am · Subject: Re: Suggested implementation of new type of columns in DataTable: textarea and HTMLarea · Rating: 0
If YUI 2.9 fixes it, we can certainly upgrade to it, we just have to make sure all our other JS stuff still works (which is a bit to test, but usually goes pretty well). |
| Back to Top |
Rate [ | ]
|
|
ampli
|
Date: 7/7/2011 9:52 am · Subject: Re: Suggested implementation of new type of columns in DataTable: textarea and HTMLarea · Rating: 0
There is a new version of the textarea/HTMLarea modifications at: https://github.com/ampli/webgui/commit/309ce930bd6e6469ba31a20abd796f5a73368494 Changes and additions to the modifications for textarea/htmlarea in DataTable. 1. Added i18n of the cell editor Save/Cancel buttons, YUI Datatable Loading and Error messages, and column sort tooltips. 2. Added CSS files for the existing two DataTable Templates. Each file should be added to the corresponding template as a CSS Attachment. 3. Defined classes "wg-dt-textarea" and "wg-dt-htmlarea" for styling the corresponding cells. 4. Fixed a bug in my previous modification: textarea.innerHTML to textarea.value.The DataTable truncation in IE9 doesn't happen any more with YUI 2.9.0 (2.8.0 is from before the time of IE9 and has many problems with it). I would appreciate it much if you could check it and send you comments. Amir |
| Back to Top |
Rate [ | ]
|