← Back to blog

    Data Tables in Web Apps: 4 Tasks They Must Support

    A good data table in a web app helps people quickly find a record, compare values, edit a single record and act on it. What matters most is a readable first column, visible filters, a frozen header and editing in a side panel that keeps the rest of the table in view.

    Peter Bennár
    Peter BennárCEO / presentation designer
    Data Tables in Web Apps: 4 Tasks They Must Support

    TL;DR: In a business app, a table is the most practical way to show lots of records. But it has to support four tasks: finding records, comparing data, viewing or editing a single record, and acting on records. If it makes any of them harder, people lose time every single day.

    When an app handles a lot of data, it almost always ends up with a table. Orders, clients, invoices, tickets, inventory. A table isn't the prettiest part of an interface, but in internal tools, client portals and admin panels it is one of the most useful. That's exactly why it deserves careful design.

    Table, or cards and a dashboard?

    Cards and dashboards look modern and work well for an overview or a small number of items. When people need to work with dozens or hundreds of records, though, a table has two big advantages:

    • It scales. You can add rows or columns without breaking the layout.
    • It makes comparison easy. Values of the same type sit in one column, so the eye scans them in a single movement. With cards, people have to jump around and remember what they saw a card earlier.

    A dashboard answers "how are we doing". A table answers "which records do I need to deal with".

    1. Find records that match criteria

    People look for records in different ways: they filter, sort, search or simply scan the rows. A table should support all of them.

    • Make the first column a readable identifier. Start with the name, title or another value people recognise. An auto-generated ID means nothing to most users, so move it further right or hide it.
    • Order columns by importance. Put the most needed data on the left and less important data on the right. Keep related columns, such as created date and due date, next to each other.
    • Use filters that are easy to find and understand. Place them visibly above the table, make them respond quickly and label them in words everyday users understand.
    • Show clearly when filters are active. People must see at a glance that the table is filtered and by what, and be able to clear a filter with one click. Otherwise they may assume a record has disappeared.

    If your app also has full-text search, many of the principles from website search UX apply there too.

    2. Compare data

    Comparison is the main reason we use tables at all. A few details make a big difference:

    • Freeze the header and the first column. In a large table, column names and the row identifier stay in place while you scroll down or sideways.
    • Guide the eye gently. Thin borders, alternating row shading (zebra stripes) and highlighting the row under the cursor help people keep their place in a long row.
    • Let people hide and reorder columns. Everyone needs to see something different. Don't rely on drag and drop alone; offer menu or keyboard controls so it's accessible to everyone. And show how many columns are currently hidden.
    • Allow hiding rows and sorting. When people can set irrelevant rows aside and sort the rest, they compare only what matters to them.

    3. View, edit or add a single record

    Sooner or later, people need to open a specific record. There are several options, each with trade-offs:

    • Inline editing in the row. Fast, but only suitable for narrow tables with few fields. Edit mode must look clearly different so nobody overwrites data by accident.
    • Modal dialog. It focuses attention but covers the rest of the table, and people often look at other records as a reference while editing. That makes modals a poor fit for deeper edits.
    • Non-modal side panel or separate window. The detail opens next to the table and the other records stay visible. This is usually the best compromise.
    • Expandable row (accordion). It doesn't cover anything, but it clutters the table and makes comparing with distant rows harder.

    If editing means filling in several fields, keep good form design in mind, as described in How not to design web forms.

    4. Take action on records

    A table isn't just for reading. People approve, delete, export and assign records from it.

    • Actions for a single record. One or two actions right in the row work well. With more, the row fills up with unlabelled icons nobody understands. An "Actions" menu at the end of the row is an alternative. Actions that appear only on hover look cleaner, but they are harder to discover and don't work on touch devices.
    • Bulk actions. Checkboxes in the first column and buttons above the table let people apply one action to many records at once. Add a "Select all" option and clearly show how many records are selected.

    Table design checklist

    • Is the first column a readable identifier rather than an internal ID?
    • Are columns ordered by importance, with related data side by side?
    • Are filters easy to reach, and is it obvious when they're active?
    • Do the header and first column stay visible while scrolling?
    • Can columns be hidden and reordered without a mouse?
    • Does the table stay visible while a single record is being edited?
    • Do row actions have clear labels, and can they be applied in bulk?

    Questions and answers

    When should you use a table and when cards?

    Use a table when people work with many records and need to compare them. Cards suit fewer items, visual content or a quick overview.

    What belongs in the first column of a table?

    The value people recognise a record by, such as a name, title or the order number they use in daily work. An auto-generated ID doesn't belong there.

    How can people edit a record without losing context?

    Most often through a non-modal side panel that keeps the table visible. Inline editing suits only narrow tables, and modal dialogs are better for short confirmations.

    What are bulk actions?

    Actions you apply to several records at once. You select the records with checkboxes and trigger the action with a button above the table.

    How should active filters be shown?

    Display them above the table as visible chips that can be removed one by one, and add a button that clears all filters at once.

    If you need an internal app, portal or admin panel with clear, usable tables, take a look at our Apps service.

    Your next successful presentation starts here.

    Tell us more about your presentation

    and we'll create one that

    no one will forget anytime soon.

    Schedule a video call
    Schedule a video call

    Let's talk about your presentation in a 30 min. video call where we'll explain how we create a custom presentation.

    Presentations
    RELATED ARTICLES

    You may also like these

    Wow, you made it to the end of our website.

    It's rare these days to scroll all the way to the end of a website.

    As a reward, you can go back