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:
Jeffin Joy
Past 24 Hours:
1
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
39
Members:
0
Total:
39
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
User Experience
Lawson Design Studio
OnClick
Please
login
to post a reply.
3 Replies
0
Subscribed to this topic
13 Subscribed to this forum
Sort:
Oldest First
Most Recent First
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
New Poster
Congrats on posting!
1/26/2011 7:08 PM
Split
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
New Poster
Congrats on posting!
1/26/2011 7:23 PM
Split
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
Split
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......
Please
login
to post a reply.