Skip to content

Infragistics Community Forum / Web / Ignite UI for Angular / Hide ADD ROW button where there is no data in Grid

Hide ADD ROW button where there is no data in Grid

New Discussion
Rameez Sadikot
Rameez Sadikot asked on Feb 4, 2022 7:38 AM

Hi team,

I do not want “ADD ROW” button where there is no data in Grid. It is being displayed by default.

I am providing Add row functionality from the igx-grid-toolbar. So this button is not needed for our use case.

Can you please let us know or provide sample to not show that button when there is no data.

Sign In to post a reply

Replies

  • 0
    Ivan Kitanov
    Ivan Kitanov answered on Feb 2, 2022 8:47 AM

    Hello Rameez, 

    In order to not display the “Add Row” button, I recommend you providing the emptyGrid template and setting it to whatever fits the need of your application. 

    I am attaching a small sample to demonstrate how the emptyGridTemplate can be set on the gird. You can access the sample here

    Please test the sample on your side and let me know if you have any questions. 

    Regards,
    Ivan Kitanov

    • 0
      Rameez Sadikot
      Rameez Sadikot answered on Feb 4, 2022 4:11 AM

      Thanks Ivan, it worked!

      • 0
        Ivan Kitanov
        Ivan Kitanov answered on Feb 4, 2022 7:38 AM

        Hello Rameez,

        I’m glad that you found my suggestion helpful.

        Thank you for using Infragistics!

        Regards,
        Ivan Kitanov

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Rameez Sadikot
Favorites
0
Replies
3
Created On
Feb 04, 2022
Last Post
4 years ago

Suggested Discussions

Created by

Created on

Feb 4, 2022 7:38 AM

Last activity on

Feb 18, 2026 1:09 PM