Delete or remove record from gridpanel

  1. #1

    Delete or remove record from gridpanel

    I have a gridpanel loaded from database, with a row command to delete records in it.
    I would be able to check if a record, with the same command, must be deleted from db or just removed from the grid since it was just added to the grid while editing.
    There's a property of the row or record that I can use for this purpose?
  2. #2
    Hi,

    Please use the Record isNew method.
    record.isNew();
  3. #3
    Hi Daniil,
    thank you for your suggestion, I will try and let know.
  4. #4
    I tried the property and it works, thanks for the suggestion.

Similar Threads

  1. how to delete or remove record?
    By richard in forum 2.x Help
    Replies: 0
    Last Post: Jun 08, 2012, 9:12 AM
  2. Replies: 4
    Last Post: Mar 26, 2011, 7:06 PM
  3. Replies: 4
    Last Post: Aug 09, 2010, 3:12 PM
  4. Gridpanel delete a record with rowcommand
    By umitcel in forum 1.x Help
    Replies: 3
    Last Post: Jul 23, 2010, 9:27 AM
  5. [CLOSED] How to delete a record from grid permanently clientside?
    By jchau in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Sep 18, 2009, 11:46 AM

Tags for this Thread

Posting Permissions