ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
GridInlineEditing Crud with CustomRender from AweCoreDemo
Title:
B
I
{code}
?
I would like to use the GridInlineCrudCustomRender feature of the grid. Are you able to point me to which components I will need to get this working? I have been trying with it but because its part of the bigger full Demo, I would like to only know which files (cs, Js) I should be using. I also see there are connections to usage of a signalr.js (which I know nothing about but am prepared to use it as a black box if I can).
Save Changes
Cancel
Clifton Nurse
asked at 26 Feb 2020
Answers
B
I
{code}
?
in the demo you mentioned: https://demo.aspnetawesome.com/GridCustomRender#Grid-Custom-Render-with-Inline-Editing if you look at the code you can see `.CustomRender("inlDinner")` so the additional js that you need is the `inlDinner` js function located on that page there's some css in site.css specifically for this demo, you could see that by using the browser inspect feature (Ctrl+Shift+I in chrome), also you can these classes in side the `inlDinner` function a similar demo you can see here: https://prodinner.aspnetawesome.com/Meal ( grid with custom render, and inline editing ) the signalr part is the same for all grids, it is in site.js and it is there to sync the grids, so if you edit/delete the same row in one grid, it will be reflected in others as well
Save Changes
Cancel
Omu
answered at 26 Feb 2020
Please also understand, that since I'm not using MVC controllers but Razor Pages, it is difficult to follow these demo's that have so many features being covered by the same common code. I was hoping you would point me in a better direction to solve the Delete functionality
at 02 Mar 2020
Clifton Nurse
We've added a grid inline editing page to the RazorPagesDemo, please download it and have a look: https://www.aspnetawesome.com/Download/RazorPagesDemo
at 02 Mar 2020
Omu
Thank you very for your Awesome support. Thats all I needed, Its working well. Smooth as silk. That new demo will go a long way to helping developers using .net core razor pages and the Awesome controls. My stress with getting this to work over many hours has melted away now.
at 02 Mar 2020
Clifton Nurse
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK