Premmerce Documentation > Table or Grid > How to Add More Buttons on Action Column

About Premmerce

Introduction

Full Features

Installation

Prerequisite

Setup & Installation

Table or Grid

Basic Usage

Disable Column Sorting

Disable Column Export

Change Search Placeholder

Custom Column Template

Add Buttons to Action Column

Hyperlink Column Text

Specific Roles to View Column

Add or remove column

Filter column

CSS and JS

Edit Color

File validation

General

Password Validation

Bulk Import

Other

It’s easy. Let’s go! The steps:

  1. To add more buttons to the Action column for a specific table, navigate to /Views/Shared/_Table.cshtml.

  2. As shown in the image below, add the section of the code that corresponds to your table. Modify the HTML button or link as needed for your desired functionality.

    image.png

    @if (tableId == "TicketTableContainer")
    {
        <a class="fs-22 fw600 color-primarycolor hover-color-primarycolor lh-1 ps-1 cursor-pointer" href="">
            <i class="bi bi-view-stacked"></i>
        </a>
    }