Categories | Question details Back To List | ||||||||
issue with addrow() hi Iam using grid.splitAt(1) function in my code.and i am using grid.addrow() functon for inserting a new row.a new row added at the bottom of the grid but 1st column is not visible.How can i make that as visible? addrow command is executed after splitAt function.Iam using smart rendering mode.Id also unique.while adding new row was insertes but first column is not visible.if i click on the column header at that time the fist colmun of the newly added row is visible.why it is not visible intially while adding? Answer posted by Support on Oct 17, 2008 03:31 Problem can't be reconstructed locally. ( working sample sent by email ) If issue still occurs for you - please provide any kind of sample where it can be reconstructed ( you can send it directly to support@dhtmlx.com ) Answer posted on Oct 17, 2008 03:52 Hi i used splitAt(1) functionality and smartrendering functionality in my code.I used below code for adding new row. mygrid.addRow(id,newrow,-1); mygrid.selectRowById(id); new row was inserted at the bottom but first column for that row is not visible.If i clicked on that column header then that cell become visible.How can i make the cell visible intially means while adding?Intially value to that cell also populated.But that value is not visible intially.After sorting it become visible.I used smarrtrendering and splitAt functionalities at correct place Answer posted by Support on Oct 17, 2008 08:25 The sample ( sent by email , as answer on original post ) , uses nearly the same js code to add new row and works correctly. Please check is it work for you. We can't reconstruct the same problem with local samples, so we need some kind of sample or demo link where it can be reconstructed, it impossible to suggest anythign without ability to recreate issue. Answer posted on Oct 20, 2008 00:19 Hi Iam sending the demo link through this email.In this Iam using smart rendering.while adding a new row it was not inserted into the grid properly.If i disable smart rendering then it is working fine.please provide solution for that.Iam using splitAt() function in my code.New row was inserted but first column for that row is not visible.If i clicked on that column header then that cell become visible.How can i make the cell visible intially means while adding? Attachments (1)
|