Hello,
I need to refresh all DataTable cell values after editing is complete (when
a cell editor exit), not reloading the whole page (user may be in the
middle of scrolling). Data is stored in local JSArray and been reloaded by
async call.
In the attached self-sufficient test - I've simulated the situation (using
2 local arrays and substituting of the 1st one by the second - in
editorSaveEvent handler).
If you will click on a cell, enter a new value and after the editor will be
closed - you will see no difference in table's columns 1 and 2, while
editorSaveEvent handler actually resets the data and I'm expecting to see
1,1,1,1,1 - in the first columns immediately.
The table will be refreshed/repainted - only when you will click on a
different Tab (which is actually rebuilding the table based on the new
data).
I've tried different ways of notifying of DataTable about the change
(commented-out rebuilding of DataSource, flushing cache which is still
uncommented and other ways) but didn't succeed :(
Is it a bug?
george puckett
DataTable
2.6.0
Public
|
Date: 2009-01-29 14:12 Thanks for the info |
|
Date: 2009-01-28 22:13 Hello Vasili, |
|
Date: 2009-01-28 15:45 how to find this ticket in yuilibrary.com? |
|
Date: 2009-01-28 15:44 I cannot find the ticket on http://yuilibrary.com for some reason! |
|
Date: 2009-01-24 07:13 The YUI project has been migrated from Source Forge to YUILibrary.com. |
|
Date: 2009-01-24 07:08 The YUI project has been migrated from Source Forge to YUILibrary.com. |
|
Date: 2009-01-12 20:26 Thank you for the solution for JSON type of request! |
|
Date: 2009-01-12 20:08 File Added: refresh_test2.html |
|
Date: 2009-01-12 20:07 File Added: refresh_test1.html |
|
Date: 2009-01-09 23:32
|
|
Date: 2009-01-05 14:37 anybody here? |
|
Date: 2008-12-16 15:19 Hi guys, |
|
Date: 2008-12-12 00:48 And also after |
|
Date: 2008-12-11 22:11 This bug report is being forwarded to the author or current owner of the |
| Filename | Description | Download |
|---|---|---|
| refresh_test.html | the same file but cleaned even more | Download |
| refresh_test1.html | working example with the fix | Download |
| refresh_test2.html | not working example (different usage) with the same fix | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | - | 2009-01-28 22:13 | gpuckett |
| allow_comments | 1 | 2009-01-28 22:13 | gpuckett |
| resolution_id | Remind | 2009-01-28 22:13 | gpuckett |
| status_id | Open | 2009-01-28 22:13 | gpuckett |
| status_id | Closed | 2009-01-28 15:44 | vgavrilov |
| resolution_id | Works For Me | 2009-01-28 15:44 | vgavrilov |
| close_date | 2009-01-24 07:08 | 2009-01-28 15:44 | vgavrilov |
| allow_comments | 0 | 2009-01-28 15:44 | vgavrilov |
| priority | 5 | 2009-01-28 15:44 | vgavrilov |
| status_id | Open | 2009-01-24 07:08 | gpuckett |
| assigned_to | jennykhan | 2009-01-24 07:08 | gpuckett |
| allow_comments | 1 | 2009-01-24 07:08 | gpuckett |
| close_date | - | 2009-01-24 07:08 | gpuckett |
| File Added | 308837: refresh_test2.html | 2009-01-12 20:08 | vgavrilov |
| File Added | 308836: refresh_test1.html | 2009-01-12 20:07 | vgavrilov |
| File Deleted | 304960: | 2009-01-12 20:07 | vgavrilov |
| close_date | 2009-01-09 23:32 | 2009-01-12 20:07 | vgavrilov |
| status_id | Pending | 2009-01-12 20:07 | vgavrilov |
| resolution_id | None | 2009-01-09 23:32 | gpuckett |
| close_date | - | 2009-01-09 23:32 | gpuckett |
| status_id | Open | 2009-01-09 23:32 | gpuckett |
| File Added | 304979: refresh_test.html | 2008-12-12 00:45 | vgavrilov |
| assigned_to | nobody | 2008-12-11 22:11 | gpuckett |
| summary | DataTable is not refreshed by dataTable.initializeTable() | 2008-12-11 22:11 | gpuckett |
| File Added | 304960: refresh_test.html | 2008-12-11 22:06 | vgavrilov |