OnPageDisplay
OnPageDisplay
doctorjnupe
Posts: 21Questions: 6Answers: 1
in Editor
I'm using multiple onPage Displays on a page. They are all in tabs. The first two work, but the third is not displaying the form. I changed the names and css.
#container {
display: flex;
align-items: stretch;
}
#table-container {
box-sizing: border-box;
width: 55%;
padding: 0 1em;
}
#form-container {
box-sizing: border-box;
width: 45%;
padding: 0 1em;
}
#conmon-container {
display: flex;
align-items: stretch;
}
#conmon-table-container {
box-sizing: border-box;
width: 55%;
padding: 0 1em;
}
#conmon-form-container {
box-sizing: border-box;
width: 45%;
padding: 0 1em;
}
#stig-container {
display: flex;
align-items: stretch;
}
#stig-table-container {
box-sizing: border-box;
width: 55%;
padding: 0 1em;
}
#stig-form-container {
box-sizing: border-box;
width: 45%;
padding: 0 1em;
}
Any ideas? I'm not getting any error. Everything displays correct, but the form will not display.
This discussion has been closed.
Answers
I'm not clear on how this releases to DataTables, as there is no DataTables specific code in your CSS above. Perhaps you can link to a test case showing the problem? If its a generic CSS issue though, you'd be best asking on StackOverflow or similar.
Allan
Basically, the issue is that I have implemented 3: OnPageDisplay, onConMonDisplay and onStigDisplay
The above Works perfectly!
The above works, but does not pop back up to the top of the form on row select.
The above correctly displays the table and shows that the row is selected, but it fails to display the form.
The CSS should make more sense within this context now.
@allan Any updates on this? I just need a little direction. I can figure it out from there.
Can you link to the page so I can help to debug it please? There is more code than I'm able to parse into my head there, and I think some context is missing, such as the HTML for the page, which is referenced in the display controllers.
Thanks,
Allan
@allan I can link to the source but not a working page. Would that help?
@allan what would I have to do to get a screen share. Do I need to purchase support credits? I am willing to do whatever it takes to get this fixed.
Since it is in tabs, my guess is that
is not resolving to be anything (no elements found - that would happen if the element was not in the document, which some tab implementations will do).
What I would suggest is that at the top of the document.ready for that Editor is you do:
What does the console show?
For screenshare support, yes we could do that with the support options.
Thanks,
Allan