This is a migrated thread and some comments may be shown as answers.

Display a popup on clicking checkbox in Grid by displaying different values for different checkbox.

3 Answers 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ramesh
Top achievements
Rank 1
Ramesh asked on 24 Oct 2013, 12:23 PM
Hi,
:( English.
i have a Grid starting with checkbox in all the rows and other data.
Have achieved displaying checkbox in the grid like this
field: "status",
title: "Status",
template: "<input name='Status' class='ob-paid' type='checkbox'  />",
And my output is like this:

HTMLcheckbox-Match-Content1-Content2-Content3
HTMLcheckbox-UnMatch-Content1-Content2-Content3
HTMLcheckbox-Match-Content1-Content2-Content3
HTMLcheckbox-Match-Content1-Content2-Content3
HTMLcheckbox-UnMatch-Content1-Content2-Content3

Now, i need to display a popup on clicking the checkbox("if the text is UnMatch") with some content.
And no need to do anything if i click on checkbox with the column text is Match.

Please help me how to do this.

3 Answers, 1 is accepted

Sort by
0
Ignacio
Top achievements
Rank 1
answered on 24 Oct 2013, 08:24 PM
It should be possible,
Here's a small proof of concept.
http://jsfiddle.net/D2Z7h/
Hope it helps.
0
Ramesh
Top achievements
Rank 1
answered on 25 Oct 2013, 09:07 AM
Hi nikobellic,
Have implemented that and its working fine, but i have some 100's of records which i can able to sort and pagination in the grid. The alert is not working after sorting or navigating to next page in the grid. how to fix it?
0
Ignacio
Top achievements
Rank 1
answered on 25 Oct 2013, 03:29 PM
You are correct.
I have modified my demo to meet this requirement.

Hope this helps.
http://jsfiddle.net/D2Z7h/1/
Tags
Grid
Asked by
Ramesh
Top achievements
Rank 1
Answers by
Ignacio
Top achievements
Rank 1
Ramesh
Top achievements
Rank 1
Share this question
or