We are using normal grids in our portal pages - have a requirement where the def

We are using normal grids in our portal pages - have a requirement where the default "delete row" functionality which comes out of the box for grids is needed whereas the "Add row" functionality needs to be hidden. Understand that the component cannot be customized. How can I achieve my requirement here? Any similar use cases and solutions?
...

OriginalPostID-95254

OriginalPostID-95254

  Discussion posts and replies are publicly visible

Parents
  • This can only be done through JavaScript which will make it non-Cross Browser supported nor mobile compatible.

    To hide the "Add New Item" link just place the following code in your load event adjusting the gridID. This function delays hiding the link for 100 ms. You can increase-decrease this value accordingly.

    var gridID = 'grid2';
    setTimeout(function(){$("#fd_component_" + window.FormDesigner.runtimeNamespace + gridID + " .gridTool").hide(); }, 100);
Reply
  • This can only be done through JavaScript which will make it non-Cross Browser supported nor mobile compatible.

    To hide the "Add New Item" link just place the following code in your load event adjusting the gridID. This function delays hiding the link for 100 ms. You can increase-decrease this value accordingly.

    var gridID = 'grid2';
    setTimeout(function(){$("#fd_component_" + window.FormDesigner.runtimeNamespace + gridID + " .gridTool").hide(); }, 100);
Children
No Data