Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1455
sample not working properly
posted

this sample does not run properly when i run it locally

http://localhost:20776/samplesbrowser/grid/sl/#/icustomtypeprovider-binding

both users come up with the same age and married flag, ie they both have 45.  seems like a bug?


   Customer cust01 = new Customer { FirstName = GridStrings.ictp_Mary, LastName = GridStrings.ictp_Smith }; // { FirstName = "Mary", LastName = "Smith" };
            cust01.SetPropertyValue("Age", 40);
            cust01.SetPropertyValue("Married", true);

            Customer cust02 = new Customer { FirstName = GridStrings.ictp_John, LastName = GridStrings.ictp_Smith }; // { FirstName = "John", LastName = "Smith" };
            cust02.SetPropertyValue("Age", 45);
            cust02.SetPropertyValue("Married", true);

            customers.Add(cust01);
            customers.Add(cust02);