jklm Posted April 27, 2011 Posted April 27, 2011 hi, i have a "portal" which shows related records from other table fine. now, let's my "portal" has 10 rows. because of relationship it shows let's say 5 rows with information and other 5 are empty. now, in order to go to directly to the related record on each row, i have created a button with the same color as portal's background. i put there a script to open the related record. but i also wanted to do smth when the empty rows are clicked... please can you give some ideas how is it possible? i just want to be able to do smth when the empty rows of portal are clicked... thanks a lot!!!!
Raybaudi Posted April 28, 2011 Posted April 28, 2011 ...but i also wanted to do smth when the empty rows are clicked... What exactly ?
jklm Posted April 28, 2011 Author Posted April 28, 2011 What exactly ? For example to run a script which will show a custom dialog. Thanks in advance!
Raybaudi Posted April 28, 2011 Posted April 28, 2011 i have created a button with the same color as portal's background. If you change the color of that button ( not the same as portal's background ), could you see that button into the empty rows ?
jklm Posted April 28, 2011 Author Posted April 28, 2011 If you change the color of that button ( not the same as portal's background ), could you see that button into the empty rows ? Nope I cannot see it. But the cursor changes as if it is on a button.
comment Posted April 28, 2011 Posted April 28, 2011 But the cursor changes as if it is on a button. Yes, it does - for no good reason. There is NOTHING in an empty portal row - no record, no fields, no button. `You cannot click on nothing and have something happen. I believe the most you could do with a portal is to have the FIRST empty row clickable.
Raybaudi Posted April 28, 2011 Posted April 28, 2011 For example to run a script which will show a custom dialog. If it's good for you to show a text tooltip instead of a custom dialog, you could enter this text into a portal's tooltip: "Clicking an empty row doesn't do anything" Note that the message will appear only overing an empty row. BTW: using an event plugin you could even fire a script using the tooltip.
Recommended Posts
This topic is 5104 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now