Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
Grid Showing Empty row
posted

Hi,

We have configure igGrid with AutoGenerateColumns true.

When the empty Datamodel was bind from mvc grid is showing empty row.

Kindly let me how to show the grid with out empty row if no data available.

Thank you

Code example : 

$('#tGrid').igGrid({
dataSource: "@Html.Raw(Model.GridDataUrlRelativePath)",
DataSourceType: "json",
responseDataKey: "Records",
autoGenerateColumns: true,
autoGenerateLayouts: true,
columns: columnsData,
height: "500px",

Parents
No Data
Reply
  • 485
    Offline posted

    Hello Rajesh,

     

    I am glad that you find my suggestion helpful.

    Feel free to contact me if you have some additional questions regarding this matter.

     

    Thank you for using Infragistics controls.

Children
No Data