El 13/01/2010 15:17, vino ben escribió:
initEvent the first time around, renderEvent on any rendering, which includes sorting. There are plenty of events, some of them 'before' and 'after' or 'post' events, I doubt there is anything in the datatable that has no event associated.Hi Satyam,The grid is very complicated to host it in a public server with real data and then too, the bug might or might not replicate.From your previous response ,=> " You shouldn't try to do anything on the datatable until it signals you that it is ready "
Can we capture this by any event ? so that I can invoke my custom logic ON this event(after the table is ready)[ If this can be done myday is saved]
=> "I don't know why would you care to do any sort of bulk formatting afterwards while you can do it on the fly."
This seems to be a valid way out for me ( but a long way)..
I Tried to accomodate these logics in ROWFORMATTER and since I found it complicated at that stageI went by this approach ( I used a lot of datatable methods which would not be possible in formatters).
Now, it seems that it is better off to take pains and accomodate them in cusotm cell and rowformattersrather than living with a weird bug hidden inside.( I'm half done with these changes now...)
Thanks a ton for the valuable leads you are providing us to make the whole YUI developers experience better worldwide.