My marker detail is thus:
What I would like to do ( in the SPAN TAG) is add a button to the markers' detail view that will bring me to the lists' detail view (the panel card) for the currently selected "data[rowNumber]" (setting focus to the selected row).
I just cannot figure out how to add in the correct javascript, the button would read "Edit Selected"
The panelcards name is "PC_DETV"
The builder doesn't seem to have an option to set focus to the row. This is client-side - list control not a data series, and if it matters I am using the latest official release. Any help would be much appreciated, as always!
Also, If your feeling really inspired to help I also want another button that will set a value in one of the controls - save the record & refresh the list, but I think once I see how to do the first part, I might be able to figure out the rest! I am just not sure how to insert/run javascript into/within the detail view of the map marker.
~As always, many thanks in advance!
Code:
"detail": { "has": true, "data": '<b><font size="4">' + data[rowNumber].StartDate + '</b>' + '<b> Subject: </b>' + data[rowNumber].Subject + '<br>' + '<b>Phone: </b>' + data[rowNumber].Job_CallBack_ph + '<br>' + '<b>Description: </b>' + data[rowNumber].Description + '<br>' + '<b>Technician: </b>' + data[rowNumber].Job_Technician + '<br>' + '<b>Location: </b>' + data[rowNumber].Location + '</font><br>' + '<b><font size="5">' + '<a href="http://maps.google.com/maps?q=' + data[rowNumber].Location + '">' + 'MAP LINK' + '</a>' + '</font></b><span float:right>BUTTON ="Edit Selected": Action = go to list' detail view</span><br>'
I just cannot figure out how to add in the correct javascript, the button would read "Edit Selected"
The panelcards name is "PC_DETV"
The builder doesn't seem to have an option to set focus to the row. This is client-side - list control not a data series, and if it matters I am using the latest official release. Any help would be much appreciated, as always!
Also, If your feeling really inspired to help I also want another button that will set a value in one of the controls - save the record & refresh the list, but I think once I see how to do the first part, I might be able to figure out the rest! I am just not sure how to insert/run javascript into/within the detail view of the map marker.
~As always, many thanks in advance!