MysorePak Posted June 17, 2015 Report Posted June 17, 2015 i have layout where i have added a checkbox when we select it and click on delete button the row should delete from the table, so here is tha layout and delete function which i wrote, but think is that i am unable to get row values when it got selected layout = [ {name: 'Select', type: dojox.grid.cells.Bool, editable: true, width: '50px', defaultValue: true, values: [ true, false ]}, {name: 'abc', field: 'abc', width: '90px'}, {name: 'zya', field: 'zya', width: '150px'} ] function deleteStatus(){ alert('inside delete function'); var retval = confirm('Are you sure you want to delete this document: ' ); if (retval == true) { document.forms["form"].formAction.value = "deletemethod"; document.forms["form"].submit(); } return retval; }
fake_Bezawada Posted June 17, 2015 Report Posted June 17, 2015 Indulo dojo emundi bro pure js ega vundi
fake_Bezawada Posted June 17, 2015 Report Posted June 17, 2015 Ah layout array drop down laaga vastunda
arshad Posted June 17, 2015 Report Posted June 17, 2015 Ah layout array drop down laaga vastunda nuvvu answer istavanukunte questions vestunnavyu ga :(
fake_Bezawada Posted June 17, 2015 Report Posted June 17, 2015 nuvvu answer istavanukunte questions vestunnavyu ga :( dojo meeda work chestuna bro but ila epudu face cheyaledu nenu
fake_Bezawada Posted June 17, 2015 Report Posted June 17, 2015 Bro values ravatam ledu antunav kada try calling like dojo.byId(); and try ala document use cheyakunda dojo api try chey
MysorePak Posted June 17, 2015 Author Report Posted June 17, 2015 table structure laa display avuthundhi Ah layout array drop down laaga vastunda
MysorePak Posted June 17, 2015 Author Report Posted June 17, 2015 aa checkbox type mamula js or jquery la isthey ravadam ledhu so used dojo type... andhuke dojo anna Indulo dojo emundi bro pure js ega vundi
MysorePak Posted June 17, 2015 Author Report Posted June 17, 2015 bro eppudu manam checkbox select chesiappudu aa row values ela techukuntam either in js/jquery or dojo Bro values ravatam ledu antunav kada try calling like dojo.byId(); and try ala document use cheyakunda dojo api try chey
veerudu Posted June 17, 2015 Report Posted June 17, 2015 jquery use chese option vunte , check below example http://jsfiddle.net/bipen/DjhuY/4/
Recommended Posts