Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
OnClick
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jessica
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5164
People Online:
Visitors:
302
Members:
0
Total:
302
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson Design Studio
OnClick
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
khart
Advanced Member
Posts: 25
1/26/2011 6:12 PM
I am able to use OnClickCheckBox and OnRowClick to trigger events but is there an Event to know the exact field a user clicked on the row if you are using OnRowClick?
David Williams
Veteran Member
Posts: 1127
1/26/2011 7:08 PM
This will give you which row was selected:
function dme0_OnRowClick()
{
var oDME = page.objects["dme0"]
var rowRecordAry = oDME.getRowRecord()
}
I'll try to find how to tell which field within the row and get back to you.
David Williams
Veteran Member
Posts: 1127
1/26/2011 7:23 PM
Per Lawson:
Remarks
getRowRecord returns an array containing a field object for each field. A field object has the properties name (field name) and value (field value). The current row is used if a row argument is not passed.
Example
var oDME = page.objects["data0"];
var rowRecordAry = oDME.getRowRecord();
var oField = rowRecordAry[0];
var fieldName = oField.name;
var fieldValue = oField.value;
khart
Advanced Member
Posts: 25
1/26/2011 7:37 PM
Yes, thanks I had found that bit of code also and I can return the entire row but i'm trying to only return the individual section of a row that the user clicks on......
You are not authorized to post a reply.