Skip to content

Toolbar testing#1016

Open
gmurray81 wants to merge 8 commits into
mainfrom
toolbar-testing
Open

Toolbar testing#1016
gmurray81 wants to merge 8 commits into
mainfrom
toolbar-testing

Conversation

@gmurray81
Copy link
Copy Markdown
Member

No description provided.

const data: any[] = grid.dataSource as any[];
for (let i = 0; i < data.length; i++) {
const oldItem = { ...data[i] };
data[i].Salary = Math.round(60000 + Math.random() * 140000);

for (let i = 0; i < count; i++) {
const age = Math.round(EmployeesSalesDataGenerator.getNumber(20, 40));
const gender = EmployeesSalesDataGenerator.getGender();
Photo: photoPath,
Phone: EmployeesSalesDataGenerator.getPhone(),
Street: EmployeesSalesDataGenerator.getStreet(),
Salary: EmployeesSalesDataGenerator.getNumber(40, 200) * 1000,

public static getPhone(): string {
const phoneCode = this.getNumber(100, 900);
const phoneNum1 = this.getNumber(100, 900);
public static getPhone(): string {
const phoneCode = this.getNumber(100, 900);
const phoneNum1 = this.getNumber(100, 900);
const phoneNum2 = this.getNumber(1000, 9000);
const year = RealEstateDataGenerator.getNumber(1950, 2015);
const age = 2020 - year;

const gender = RealEstateDataGenerator.getGender();

public static getPhone(): string {
const phoneCode = this.getNumber(100, 900);
const phoneNum1 = this.getNumber(100, 900);
public static getPhone(): string {
const phoneCode = this.getNumber(100, 900);
const phoneNum1 = this.getNumber(100, 900);
const phoneNum2 = this.getNumber(1000, 9000);
gmurray81 and others added 6 commits May 16, 2026 10:17
…itError

The Blazor sibling already does SetEditError + RejectEdit. WPF was missing
the RejectEdit call, so with AutoAcceptEdits=true the host would auto-accept
the edit anyway and the test pattern "subscribe Script-bound reject handler,
expect edit rejected" silently passed through. Aligns with Blazor.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants