kev1n wrote: ↑Mon Mar 28, 2022 9:11 am
Try calling nuSubformHideColumns() just ones, by passing all columns to hide. Subsequent calls might be causing that issue.
this is it. Thank you. Thanks to this, I deleted two extra lines of code. It remains to understand what to do with the columns in the subform and with the width of the subform itself. Is it possible to automatically change the width of the subform to the size of the browser?
The modified nuSubformRearrangeColumns() seems to work better when the subform has a horizontal scrollbar.
Replace the existing function in nuform.js, then log in again.
kev1n wrote: ↑Mon Mar 28, 2022 10:12 am
The modified nuSubformRearrangeColumns() seems to work better when the subform has a horizontal scrollbar.
Replace the existing function in nuform.js, then log in again.
Scrollbars we have won. ))) But there are small artifacts. For example, the delete column disappeared. And the first 3 fields in the subform have the lookup type. Two of them have an active description. These fields were crawling over each other. There is also a small incomprehensible piece of the title.
Before
111.png
222.png
After
333.png
444.png
You do not have the required permissions to view the files attached to this post.
It would probably be easier to just disable the columns instead of hiding. You can also try to fix nuSubformRearrangeColumns() yourself as I don't have much time at the moment.
kev1n wrote: ↑Mon Mar 28, 2022 11:12 am
It would probably be easier to just disable the columns instead of hiding. You can also try to fix nuSubformRearrangeColumns() yourself as I don't have much time at the moment.
I found the error and fixed it, but there is a problem in the presence of "magic numbers" in the code. Such as +6 and so on. Because of this, the intervals between the fields are different and there are still minor problems with rendering. Could you tell me what the procedure for the initial rendering of subform fields is called? It is necessary to bring the margins to uniform numbers.