Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxColumns6 Exist

Exist

Determine whether a column with the specified index exists within columns array.

pas
function Exist(const Index: Integer): Boolean;

Example

pas
if ProductsGrid.Colums.Exist(ColIndex) then
begin
  ProductsGrid.Columns.Delete(ColIndex);
end;

Sign in