You can Create Post by clicking "Create post" & can reply or put comments for any existing post

74 posts

20 answers

13 comments

5,953 users

Contact me :
Email: dbahossain@gmail.com
Skype: apexexplorer
Phone:+880-1700514916

UpWork Contact Info:
Find Freelancers by: dbahossain
Or
Visit My direct Profile

How to add check box in a custom grid to delete selected row

+1 vote
 
Your Query will be like this below :
 
 
select empno,
ename,sal,
job,
apex_item.checkbox(2,empno,'UNCHECKED') as checkbox
from emp
 
note* : Go to report attributes and scroll up the check box command at the first position so that check box will remain at the left most in the run time.
 
 
Your delete Process will be as below ( under a button condition) :
 
FOR i IN 1 .. apex_application.g_f02.COUNT
LOOP
  DELETE EMP WHERE EMPNO = apex_application.g_f02(i);
end loop;
 
 
Note ** : if you like to put a check box in the check box column header so that when you check this check box, all check boxes in the grid will be checked then do the below :
 
Go to the column header properties of the check box and paste the below command 
 
<input type="checkbox" onclick="$f_CheckFirstColumn(this)" />
 
asked Jun 26, 2013 in Apex by admin (2,850 points)

1 Answer

0 votes
Nice Post.Simple and good one..
answered Mar 6, 2014 by salai (140 points)
© 2013 apexexplorer.com. All rights reserved.
...