on 2008 May 21 1:45 PM
Hi,
Is it possible to have a hyperlink in a iGrid cell?
Thanks,
Sara
No, but you can easily enable Cell Selection and leverage the CellSelectionEvent to trigger the screen navigation or popup window.
Regards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Jeremy for your quick response.
I already tried that. But there are following issues with your suggested solution:
1. When we enable Cell Selection, all the cells in the row are enabled for cell slection. We want to have hyperlink functionality only for a certain cells, (not for all the cells in a row).
2. Also, we want to allow row selection. When we have both row and cell selection enabled, it becomes very difficult to differentiate if the click is for a row selection or cell selection. In this case, when we want to select a row, it becomes very difficult, we end up selecting a cell, instead of a row.
Thanks,
Sara
Thanks, Jeremy for your suggestions.
I got it. I already did it. I was waiting if I will get a better solution.
But the problem is we don't like it because when we want to name these buttons correctly, it becomes very large like "Get the records for the parent id". I just wanted to avoid it, becuase it makes the GUI not user-friendly. Clicking the hyperlink directly on the cell value would have been more friendlier. Even though we have added the buttons for these functionalities, it is confusing for the user, what are these buttons about?
Thanks,
Sara
We all know about unfriendly UI's now don't we
I'm sure with the combination of a valid abbreviation or more of a functional name (your choice for "Get the records for the parent id" is way too developer minded) and a bit of user training as needed that it will work out just fine. Perhaps "Show Parent Records" would be suitable?
I'm sure you'll figure it out.
Regards,
Jeremy
"Show Parent records" will not work for us. We have parent Id coulmn. When the user clicks on the parent id link, we would like to bring all the records which has the same parent record. "Show parent records" implies getting just parent record, which is not right. Actually the correct label may be "Get the records which has the same parent id as in the selcted row", which is very ugly.
What I am trying to say here is if we have the hyperlink support on the iGrid, it could have solved this issue. Otherwise we may have to go for these buttons in the GUI and it is not user friendly.
Thanks,
Sara
I give up...
When I deal with users, this is the approach I typically follow:
Hi Sara,
What you could try do is use radio buttons. You can then format the text to look as pretty as you want and still give the user a "selection" environment. Also, the radio buttons can fire off javascript functions which can interact with the iGrid properties so you can alternate between the row and cell selection.
Hope that helps and isn't too late.
Rick,
Having done xsl generation of html before (back in version 11.0), I am not sure I would call it quite easy. But it is certainly doable using an xsl.
However, I am not sure I understand how you would do it using a BLS to generate HTML output.
Would you dynamically build the string input(s) to an HTML Saver Action Block inside the BLS?
Mike
<protective_shields_on>You could do the similar using an AJAX ( A pplets J ust A ren't e X citing ( anymore ) ) with a URL call to the BLS that generates the code that would then get pushed into the DIV and without the overhead of the JRE on the client or the applet on the page.</protective_shields_on>
Sara:
My technique is to use a string property (a string transaction output), then I wrote a library of small transactions that create the correct HTML content for various types of HTML tags (tables, rows, columns, divs, etc). I invoke these as needed, and the resultant HTML snippet is appended to the string transaction output property.
To generate the HTML content, I invoke the runner servlet, pass the name of the appropriate output parameter in OutputParameter=XXX, and add to the URL:
&Content-Type=text/html
I've used this technique to create specialized tables, gantt charts, and entire pages dynamically as well.
AJAX is also a viable approach. The only real disadvantage is that you can't edit/manage the application logic as easily in a single place, but it is definitely a good approach to use AJAX if you'll be leveraging some of the very cool AJAX UI libraries out there.
Again, I am a big fan of Adobe Flex also. It can easily integrate with/share events with the MII applets and other HTML content on the page, or you can build entire apps with Flex using just MII as the back end.
Hope this helps,
Rick
Ryan:
AJAX rocks for things that can be easily rendered using HTML tags, but if you try to do things like charts, etc. it tends to suck badly if you want any kind of interactivity. I've seen nasty hacks using server-side generated images and a crapload of image hotspots, but that's brutal.
For interactive, graphical UI elements (charts, gauges, etc.), something like a Flash control, .NET/WPF/Silverlight control, SVG element, or applet makes a lot of sense.
Rick
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.