[support] How to add a coulmn to displayed table dynamically?
Warren Vail
warren at vailtech.net
Wed Apr 13 06:42:59 UTC 2011
Just had another thought on this problem (a lot like bad gas, I guess). Are
we talking about attachment views here?
Warren Vail
_____
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Warren Vail
Sent: Tuesday, April 12, 2011 11:08 PM
To: support at drupal.org
Subject: Re: [support] How to add a coulmn to displayed table dynamically?
Nan wich has a good idea about the learning process, does she do training?
As to adding a column, each round trip to the DB server is somewhat costly,
if you can anticipate the extra column or columns, and include them in your
first query, generally the results will be faster if done in one request,
even when transferring additional data, up to a point of course. One bonus
of doing this is you could create "fly over" pop-ups, although it won't take
much to eat up the savings from your combined query, with all the generated
html.
The other approach is to have the popup retrieve the extra content just for
the popup page, much like with ajax, except you could just retrieve the
extra page (don't do a fly over popup if you take this approach, you'll beat
your server to death).
Warren Vail
_____
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Austin Einter
Sent: Tuesday, April 12, 2011 6:01 PM
To: support at drupal.org
Subject: [support] How to add a coulmn to displayed table dynamically?
Hi All
In my custom module, I do a SQL query. After the query is done, I want to
add a coulmn to query result.
In that new coulmn I wan to put a "Details" link, if user clicks on
"Details" link, user should be able to see a new pop-up dialog page
containing more data about the searched record.
Is it possible, please suggest how it can be done.
Best Regards
Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110412/24ab84f0/attachment.html
More information about the support
mailing list