private void OnSaveAndContinueClicked(object sender, EventArgs e)
        {
            if (isTapped || this.dataGrid.IsTaped())
            {
                return;
            }
            isTapped = true;
            string invalidMsg = EbFormHelper.ValidateDataGrid(this.dataGrid);

            if (invalidMsg == null)
            {
                OnInserted?.Invoke(mode == GridMode.New ? null : rowName);
                Utils.Toast("1 row added.");
                ResetControls();
                EbFormHelper.ExecDGOuterDependency(this.dataGrid.Name);
            }
            else
            {
                Utils.Toast(invalidMsg);
            }
            isTapped = false;
        }
        private async void OnSaveAndCloseClicked(object sender, EventArgs e)
        {
            if (isTapped || this.dataGrid.IsTaped())
            {
                return;
            }
            isTapped = true;
            string invalidMsg = EbFormHelper.ValidateDataGrid(this.dataGrid);

            if (invalidMsg == null)
            {
                OnInserted?.Invoke(mode == GridMode.New ? null : rowName);
                ResetControls();
                EbFormHelper.ExecDGOuterDependency(this.dataGrid.Name);
                await App.Navigation.PopMasterModalAsync(true);

                this.dataGrid.IsDgViewOpen = false;
            }
            else
            {
                Utils.Toast(invalidMsg);
            }
            isTapped = false;
        }