Categories | Question details Back To List | ||
Checkboxes are not dispalying Yesterday i sent a question about my checkbox display problem. But i didnt provide the code. Now i am giving the code. var grid = document.getElementById('DivBranchReqtoRHO'); ViewBranchRequestList = new dhtmlXGridObject(grid); ViewBranchRequestList.imgURL = "../Images/dhtml grid imgs/"; ViewBranchRequestList.setHeader("BranchRequestId,BranchCd,BranchRequestNo,BranchReqDate,Select,Edit,"); ViewBranchRequestList.setInitWidths("*,*,*,*,*,*"); ViewBranchRequestList.setSkin("light"); ViewBranchRequestList.setColTypes("ro,ro,ro,ro,ch,ra,"); ViewBranchRequestList.setColAlign("center,center,right,right,right,right"); ViewBranchRequestList.setColSorting("str,str,str,str,str,str"); ViewBranchRequestList.init();
the xml string is: <NewDataSet> <Table> <BranchRequestId>35a27ba5-414c-4f74-a4ea-2bb999c1e10a</BranchRequestId> <BranchCd>A12</BranchCd> <BranchRequestNo>12</BranchRequestNo> <BranchReqDate>2008-09-03T00:00:00+05:30</BranchReqDate> </Table> <Table> <RSelect>0</RSelect> <REdit>0</REdit> <BranchRequestId>860e22e9-ddf7-4593-a134-a246b493f99f</BranchRequestId> <BranchCd>A12</BranchCd> <BranchRequestNo>12</BranchRequestNo> <BranchReqDate>2008-09-03T00:00:00+05:30</BranchReqDate> </Table> <Table> <BranchRequestId>7b21bcf7-793d-4836-b4bd-a405c4160bd4</BranchRequestId> <BranchCd>A12</BranchCd> <BranchRequestNo>12</BranchRequestNo> <BranchReqDate>2008-09-03T00:00:00+05:30</BranchReqDate> </Table> </NewDataSet>
In the above xml string , i am sending data for BranchRequestId , BranchCd , BranchRequestNo , BranchReqDate resp..( not sending data for checkboxes and radio button columns). Here i am unable to display the checkbox and radio buttons. Can you please solve this problem
Regards, Raja Answer posted by Support on Sep 09, 2008 03:55 >>not sending data for checkboxes and radio button columns If you not providing any data for cell - it will not be rendered, this is behavior of grid. Issue can be resolved by providing default values as part of grid config Next line |