Hi,
Is there any example or code available that demonstrates adding and deleting rows dynamically from "webgrid" component. I havn't seen any in the examples distributed. Any pointers will help.
Thanks.
Gantait:
Yes that's a good idea! With a little code, you can do that now. If you look at componentsforjsf.com, in the Tutorials section you see links for "Popup menus for grids" and "Letting your users add rows to a grid". If you combine these two examples, you'll have what you're asking for.
Thanks,Jim
Hi Jim,
It will be really nice and helpful if we can get the inbuild feature..add and delete row for ig:gridView in later version...as sometimes it require as project demand.
And i could suggest one thing, on clicking on a row we there may be a context menu which ask for those functionality ..and before delete it ask a confirmation.
if those functionality colud posible through context menu, then grid look-n-feel will not be change..
Like suppose instade of row selection check box and selected rows will be deleted by clicking a button..in that case we need a extra column for checkbox..sometimes which may not be allowed by customer.
with best regards,
gantait
Thanks Roshan! Its always nice to get feedback! :)
I want to add that a built-in add row feature is part of our road map, though I cannot commit to any dates on its inclusion.
Best,Jim
Hello Jim,
Really Nice application.
Thank you
Roshan
Hi:
I've created three examples showing different ways of allowing the end-user to add rows to a grid.To see these examples go to http://componentsforjsf.com and select the Tutorials section from theleft-hand-side links. Under Advanced NetAdvantage for JSF Topics, you'll see a link to "Letting users add rows to the grid". Click the link and you'll see the first of the three examples. The other two are linked to this page.
I hoipe you find this helpful!Thanks, Jim