Get the values of the selected rows with checked checkbox

断了今生、忘了曾经 提交于 2019-12-02 11:50:44

Checkboxes are formed into dense collections, not potentially sparse like the other item types. I think this is a product of web tech, not APEX.

So if you had ID, Name, Checkbox

1 - ada - checked
2 - charles - not checked
3 - alan - checked 

There would be 3 index elements in ID and Names array, and only 2 in the checkbox array - and index element 3 would be empty.

So you need to match checkbox existence by indexing by the code value, and checking for existence more like

apex_application.g_f03(apex_application.g_f01.code)

While taking care of potential no_data_found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!