The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a typed dataset attached to a grid. I have three columns, price which is a double, total which is a double and quantity which is a int. I check currentcellchange event to see if the user has been changing values, if this event fires I calculate the total(total = quantity * price) and assign the value to the total column in the dataset. I would rather add an expression to the grid and let it do this for me but I couldn''t figure that out(I am working in the IDE). Anyway, everything works as I would expect unless the user types in a 0 for either quantity or price. If they do the currentcellchange doesn''t fire. Funny thing is if they they type 0.0, it does fire. This is frustrating becuase I don''t have to type 1.0 to get it to work right, just typing 1 works as I would expect. Can anyone please help? THANKS.
Nevermind. I figured it out. I had to (re-add?) to the nulltext property of the datagridcolumnstyle collection.
>I have a typed dataset attached to a grid. I have three columns, price which is a double, total which is a double and quantity which is a int. I check currentcellchange event to see if the user has been changing values, if this event fires I calculate the total(total = quantity * price) and assign the value to the total column in the dataset. I would rather add an expression to the grid and let it do this for me but I couldn''t figure that out(I am working in the IDE). Anyway, everything works as I would expect unless the user types in a 0 for either quantity or price. If they do the currentcellchange doesn''t fire. Funny thing is if they they type 0.0, it does fire. This is frustrating becuase I don''t have to type 1.0 to get it to work right, just typing 1 works as I would expect. Can anyone please help? THANKS.