I would like to allow my users to click on a cell in a column of a Grid or Report section that contains the location of a PDF or JPG file (e.g. \data\jane_doe\resume.pdf) and have the PDF file displayed...any ideas?
Printable View
I would like to allow my users to click on a cell in a column of a Grid or Report section that contains the location of a PDF or JPG file (e.g. \data\jane_doe\resume.pdf) and have the PDF file displayed...any ideas?
1) make the column a URL
2) in the link click delegate of the section, the controlsource and the text of the field are passed, so you can know what action to initiate
3) that action would be to show the pdf, which you can do with Lianja.showDocument(...), or various other ways available in Lianja (e.g., DocumentView section).
hth,
Hank
Thanks...are there any similar examples in the demo apps?
Yes, there are.
Josip will probably drop in with some collected notes. <s>
Anyone new to Lianja would do well to explore each and every demo app. That's part of the learning process. Do 4 a day and you'll be done in a week or so.
Hank