joeharrison714 / MVCGrid.Net

http://mvcgrid.net
MIT License
75 stars 56 forks source link

Add Rows #186

Open jamessuske1985 opened 5 years ago

jamessuske1985 commented 5 years ago

Hello,

Quick question. I have my grid displaying perfectly, my question is, is there away to add rows? Like I click a button and it adds a row to the grid?

jamessuske1985 commented 5 years ago

To elaborate more on this, I am using input fields as ValueTemplate and HTMLEncode to false, so I am able to edit my data, but I would like the ability to add rows.

jamessuske1985 commented 5 years ago

I figured this out, just prepend the $(".table tbody") and it will work.