This pull request fixes the issue of the 'Remove' button not being displayed in the row menu by default. The showRowRemoveButton property in the TableRowMenuComponent was set to false, which caused the button to be hidden unless explicitly set to true by the user. This pull request changes the default value of the property to true, so that the button is always visible unless the user chooses to hide it.
Changes
Changed the default value of the showRowRemoveButton property in the TableRowMenuComponent from false to true.
Added the [showRowRemoveButton] input binding to the <table-row-menu> element in the CpsTableComponent template, so that the user can control the visibility of the button.
Updated the documentation for the CpsTableComponent to reflect the new default behavior and the new input binding.
Fix/add-default-value-true-showRowRemoveButton
Resolves #297
This pull request fixes the issue of the 'Remove' button not being displayed in the row menu by default. The
showRowRemoveButton
property in theTableRowMenuComponent
was set tofalse
, which caused the button to be hidden unless explicitly set totrue
by the user. This pull request changes the default value of the property totrue
, so that the button is always visible unless the user chooses to hide it.Changes
showRowRemoveButton
property in theTableRowMenuComponent
fromfalse
totrue
.[showRowRemoveButton]
input binding to the<table-row-menu>
element in theCpsTableComponent
template, so that the user can control the visibility of the button.CpsTableComponent
to reflect the new default behavior and the new input binding.