Tables (row height, markdown)

Richard Czechowski · Friday Demos · March 15, 2024 · 3:03

Lots of progress on improving tables in Omni. A first look at variable height rows (read: big rows), in-line images, in-line links, and even tables-in-tables.

Try it yourselfThe full week on docsdashboardtablevisualizationworkbook

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. all right sounds good okay um sort of still working on table stuff and thinking through some things so this is all quite preliminary um but I have this long string here which is just randomized Laura myum um and uh I don't think this is how it's going to be implemented but I did this mostly for testing purposes um but we now have the ability to do like variable row height and it works with virtual scrolling so um these are all different you know sizes and I can scroll through them and it's reasonably smooth um I have a really big table here just to test the virtual scrolling um but yeah it works pretty well it's um under the hood assuming a size here and then

  2. measuring when it gets actually displayed and then caching it so it kind of gets smoother the more you scroll which you know uh is fine I I think um so the variable row Heights unlock um is really in service of having more robust tables that maybe include things like images and links and uh maybe markdown or something so I've been experimenting with that as a follow on to this so um I have like uh this is my link test um which I guess because I have such a big table will take a while to run I shouldn't have maybe I should swap out zip code for AG here there we go um so now I have links in the table um they're clickable this is

  3. cat bounce um it's just random placeholder link um and then if I want to build on that like I have images that I can put in here and you know you can see they they scroll pretty quickly like we're still doing a pretty good job on those of course this is the same image so it's not uh really testing the network but I I didn't want to like dos anybody by scrolling this um and so I'm doing these uh via markdown you can see that like under the hood I'm I'm literally just like returning a string um with some Tex in it eventually we want these to be modeled and not quite so naive but um you know clicking on the image actually can see

  4. the source up here which is kind of cool um and because this is marked down you can then like we can start thinking about like what kind of markdown stuff we want to do um so just to show that it works I put a table inside the table um so now there's tables inside tables and they also still virtual scroll um so um that's the demo do the tables inside tables have their own virtual scrolling maybe they should so that I can put tables inside of them tables all the way down okay