Jump to content

Java Frontend Dojo Doubt


Recommended Posts

Posted

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;
    }

 

Posted

Ah layout array drop down laaga vastunda

 

 

nuvvu answer istavanukunte questions vestunnavyu ga :(

Posted

nuvvu answer istavanukunte questions vestunnavyu ga :(

dojo meeda work chestuna bro but ila epudu face cheyaledu nenu
Posted

Bro values ravatam ledu antunav kada try calling like dojo.byId(); and try ala document use cheyakunda dojo api try chey

Posted

table structure laa display avuthundhi

Ah layout array drop down laaga vastunda

 

Posted

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

 

Posted

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

 

×
×
  • Create New...