Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Hyperlinks and popup-additional information

Posted on 2011-03-20
5
Medium Priority
?
811 Views
Last Modified: 2012-05-11
I am trying to setup a grid with information about products and its sales data.

I have been using this jquery plugin TableGear (http://andrewplummer.com/code/tablegear/).

I need to setup a grid where the one column contains an Hyperlink, which when selected, pops up another window with extra filler information about the order.

Something similar to http://4.bp.blogspot.com/_-84GVyQJ0EQ/TPAm-RNYAOI/AAAAAAAAAKY/fUp0P_AWIdI/s1600/jqGridWebPartPopup.png

How can I achieve the same with TableGear / jQuery?
0
Comment
Question by:nainil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 1000 total points
ID: 35177374
I'm guessing that your data comes from a data base of some sort, right?  Why not start the app development process by making sure that your queries work correctly.  Just generate plain HTML statements to verify the data flow.  Then once that works you can start adding complexity like jQuery and plug-ins.
0
 

Author Comment

by:nainil
ID: 35177741
I have tried that and now, decided to move to using jQuery / plugins to enhance functionality.

TableGear was suggested by EE members itself. It is easy to customize and work with. However, I was unable to get hyperlinks show up in the grid developed using jQuery/ TableGear and decided to request some help here.


0
 
LVL 75

Assisted Solution

by:Michel Plungjan
Michel Plungjan earned 1000 total points
ID: 35178494
Well. What can I say.
Visited tablegear and looked at the first example.

http://andrewplummer.com/demos/tablegear/example1.php

It sorts dates and amounts alphabetically. That is of course not very clever.
UPDATE: Seems that was just on the first page. I have informed Andrew that he should not give a complex example with a simple sort on the first demo page of many.
0
 

Accepted Solution

by:
nainil earned 0 total points
ID: 35181492
Finally figured it out:

See attached code.

Thank you.
$options["transform"]["<FIELD>"] = array("tag" => "a",
									"attrib" => array("href" => "http://google.com/{DATA}"),
									"html" => "{DATA}"
									);

Open in new window

0
 

Author Closing Comment

by:nainil
ID: 35221166
Figured out the solution with some additional troubleshooting.
0

Featured Post

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question