Categories | Question details Back To List | ||
avoid duplication of ID for same cell mygrid.xml.cell_attrs=["id"];
how to check if ID is inserted earlier into cells (and saved to DB) to avoid duplication of ID for same cell? Answer posted by Support on Nov 12, 2008 02:58 >>how to check if ID is inserted earlier into cells var oldId = mygrid.cells(1,0).getAttribute("id"); if (!oldId) mygrid.cells(1,0).setAttribute("id","itemNumber"); |