Good morning everyone.
I’m trying to use a grid on a smartphone and I’m trying the DATATABLE object. It seems to me the most complete because it allows searching, sorting and is very versatile.
Unfortunately if the number of columns exceeds a few units there are problems with displaying on the smartphone display, since it is small.
I’ve seen in some APPs that the data is grouped differently.
The attached image shows that in a single rectangular box the data is positioned in precise positions, not in columns.
Can something like this be created with NSB? What object should be used? Could the DATATABLE object be used or do we need something else?
Thank you
Gianluca
This looks like a dynamically generated ListGroup. You can put any HTML you want inside it, like flexbox DIVs and achieve the result you want. It will require some coding, though, to get your data entries into the generated code of each ListGroup row.
Here is mine working:
1 Like
I use the Common Grid as seen below. It has 3 columns and a floating header. A bit of work though using html. For example:
C = "  <img width = 44 height=40 style='border:2px solid yellow' src='" & DPic & "' id='grdShop_" & k & "_0' align=Middle>"
D = C & "  " & CStore & "<img width = 44 height=34 src='downarrowT.png' id='grdShop_" & k & "_0' align=Right>"
grdShop.setValue(k,0,D)
1 Like