jquery - Using apex:panelGrid Inside of a div tag Causes Text To Be Displayed Outside of Div -
I am trying to implement drag and drop in the last half of this with a salesforce presentation around December 2010.
I've got this job but I have a problem in which an Apex has been installed: Panel grid inside a divinity tag.
When I use the highest: panel grid inside the div tag, I actually found a box which was different from the embedded text box behaved the way I wanted it, but text from the top: output Labels and Apex: The Output field was outside the box and did not drag and drop. It works in the video above, but not on my page.
When I change the whole Apex: Panel grid with an HTML table, then fully behaves as I want and in the video.
I am convinced that something has changed in some years since the video was made, but I do not know whether or why.
Any thoughts?
> Here is the full apex: page block block of code. Currently, the HTML table is commented, but you can see two different attempts.
& lt; Apex: Page-Title Title = "Installed Widgets" mode = "Edit" id = "installBlock" & gt; & Lt; Apex: pageBlockSection column = "1" id = "section" & gt; & Lt; Top: Repeated Value = "{! Wedded Installed}" var = "w" & gt; & Lt ;! - & lt; Div class = "widget" data-id = "{! W.Id}" style = "{! If (w.Status__c == 'Maintenance is required', 'border-radius: 10px', 'border-radius: 5px ')} "& gt; - & gt; & Lt; Div class = "widget" data-id = "{! W.Id}" & gt; & Lt ;! - It does not work and puts a box which is separate from the embedded text box in the box that I want, but the text is outside the box. - & gt; & Lt ;! - & lt; Top: Panel grid column = "2" column classes = "label, value" & gt; & Lt; Top: Output Label Value = "{$ $ Object Type. Widget_Keyfield.name.labet}" /> & Lt; Top: OutputField value = "{! W.Name}" /> & Lt; Highest: output label value = "{! $ Object type. Widget __. field.stus.us.labat}" /> & Lt; Highest: OutputField value = "{! W.Status__c}" /> & Lt; Highest: Output Label Value = "{Object Type. Widget_key. field. Serial_Number__c.label}" /> & Lt; Highest: OutputField value = "{! W.Serial_Number__c}" /> & Lt; / Supreme: panelGrid & gt; - & gt; & Lt ;! - The HTML table that I want - & gt; & Lt; Table & gt; & Lt; TR & gt; & Lt; Td class = "label" & gt; {! $ ObjectType.Widget__cfields.Name.label} & lt; / Td> & Lt; Td square = "value" & gt; {! W.Name} & lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td class = "label" & gt; {! $ ObjectType.Widget__c.fields.Status__c.label} & lt; / Td> & Lt; Td square = "value" & gt; {! W.Status__c} & lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td class = "label" & gt; {! Object type Widget_keyfield.cierial_number__label} & lt; / Td> & Lt; Td square = "value" & gt; {! W.Serial_Number__c} & lt; / Td> & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Div & gt; & Lt; / Supreme: Repeat & gt; & Lt; / Supreme: pageBlockSection & gt; & Lt; / Supreme: PageBlock>
Comments
Post a Comment