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
1460
Can't delete/remove rows or track changes
posted

I need to delete/remove rows client-side and track changes. I'm using 2013.2 

How can I track added/modified/deleted rows when the page is posted back?  How can I delete rows client-side?

I have bound records to the grid, and I am able to add/edit records and their changes are reflected in the grid.   I have batching turned on since I don't want a postback on every action.  I just want to be able to add/edit/delete client-side, and then save the entire page on a single postback without having to handle rowAdding, rowAdded, rowDeleting, rowDeleted, etc...  I just want my one single save method called from the Save button's click. 

Since the WebDataGrid apparently cannot track the changes, I had to add a hidden column called DataStatus and on each action, describe what was done "Added", "Modified", "Deleted".  The old UltraWebGrid had a DataChangedStatus on each row so you could process it correctly.  Now it seems like the Akido controls want you to wire everything up and have 50+ postbacks per page.  If there's a way to track changes without handling those rowAdding, etc... events (which aren't feasible anyway), then I'd love to hear it.

I've also tried removing rows, but nothing removes them client-side and I've seen where people are hiding them using css, which breaks the css for alternating rows.  How can I remove/delete a row client-side without a postback?

Parents
No Data
Reply
  • 10240
    posted

    Hi revbones,

    The WebDataGrid does not presently have the feature to track changes. For this I am doing research and development to arrive at a work-around. We have a private support case open for you on this and I will follow-up with you on the private support case as to the progress of my work. 

    In the interim, Infragistics invites you to submit the feature for tracking changes as a new product idea for the WebDataGrid.  To suggest a new product idea you can do so by navigating to http://ideas.infragistics.com  The steps are easy to do: 

    1.       Create a new UserVoice account and log in to the Infragistics Product Ideas site at http://ideas.infragistics.com

    2.       Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.) 

    3.       Review the feature suggestions already posted by the community. 

    4.       Vote for the features you’d like to see added to the product. 

    5.       If the feature you’re looking for has not been posted, you can add your own product idea. Make sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing! 

    With this system, you are in the driver’s seat by submitting your product ideas. You can even track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you. 

    For your inquiry pertaining to deleting rows client-side as it relates to Alternate Row Styles, this has been addressed for you on another forum thread: http://es.infragistics.com/community/forums/t/88378.aspx 

    Please let me know if you need any additional assistance regarding this matter.

Children