Hello, is it possible to freeze the header column ...
# suitescript
i
Hello, is it possible to freeze the header column on a sublist in a Suitelet? something like it can be done in Excel? so the user just scrolls the results rows and the header row stays above always
i
Awesome thanks!
s
In my opinion, if you're doing a custom suitelet, skip the
n/ui
stuff altogether and use pure HTML/JS for your screen or even more powerful - a real framework like Angular.
I don't think I'll ever do
form.createField()
again (with rare exception where I need some feature that actually requires it)
m
I feel for UI/UX it's important to have a cohesive interface so I'll use serverWidget as much as possible
s
for cases where it must look like native NS, aye
there's lots of use cases for suitelets where you wouldn't want the UX to be like NS. NS is a complex,generally dense expert ERP software. There's also many that think the NS UI/UX stinks graphically and would much prefer something better. 🙂
I find that vanilla suitelets are only a good use of time when you have a simple screen that specifically fits the header/details mold best supported by serverWidget.
m
I'm not going to argue that NetSuite UI/UX could do with some improvements, but for anything end user facing I'll try keep that look and feel
s
Much (if not most) of NS is just a bunch of header/detail screens
I (and customers) enjoy the idea of flexibility of not being constrained to NS look and feel for certain customizations. I've seen quite a few insanely complex suitelets just trying to achieve something that is otherwise far more mundane when using 'real' web dev tooling.
I don't want to convince you not to use serverWidget` @michoel as my alternative approaches are a competitive advantage 🙂
😂 1
m
Lol
r
Is there a example available somewhere of using a framework like for example Angular within a Suitelet? I am curious to see how can it be done and how does the end result looks like within NS
m
There used to be a project called create-spa-netsuite, but unfortunately it isn't available any more. I have an example using vue.js here that was bootstrapped using that project https://github.com/michoelchaikin/netsuite-mapreduce-util
👍 1
r
Thanks for sharing! I have barely use those frameworks, but they do indeed look good