http://qs1969.pair.com?node_id=492611


in reply to Re^3: RFC : AJAX + DBI = DBIx::LiveGrid
in thread RFC : AJAX + DBI = DBIx::LiveGrid

Yes, I'll do that. I'll just wait for this first round of comments and then add that in to the release.

update

Acutally I am thinking it should be available as a hook in the Perl script but also as something that can be specified from the JavaScript end - e.g. add two optional arrays to the config in the HTML page for pre_column_txt and post_column_txt. E.g. if you want red around column two:
var pre_column_txt = new Array(undef,'<span style="color:red">'); var post_column_text = new Array(undef,'</span>');
How's that sound?

update2

Oh, I remember how it sounds :-). It sounds like an easy way to send cross-site scripting attacks. :-) Maybe I'll only do a hook after all. :-)

Replies are listed 'Best First'.
Re^5: RFC : AJAX + DBI = DBIx::LiveGrid
by srdst13 (Pilgrim) on Sep 18, 2005 at 00:50 UTC
    I was thinking from the perl end, also. But I have to admit that my javascript is not up to snuff. Thanks for considering the addition. I am looking forward to the release.
    Sean