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

4 posts, 0 answers
  1. Ramesh
    Ramesh avatar
    2 posts
    Member since:
    Oct 2013

    Posted 24 Oct 2013 Link to this post

    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.
  2. nikobellic
    nikobellic avatar
    46 posts
    Member since:
    Feb 2013

    Posted 24 Oct 2013 Link to this post

    It should be possible,
    Here's a small proof of concept.
    http://jsfiddle.net/D2Z7h/
    Hope it helps.
  3. Kendo UI is VS 2017 Ready
  4. Ramesh
    Ramesh avatar
    2 posts
    Member since:
    Oct 2013

    Posted 25 Oct 2013 Link to this post

    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?
  5. nikobellic
    nikobellic avatar
    46 posts
    Member since:
    Feb 2013

    Posted 25 Oct 2013 Link to this post

    You are correct.
    I have modified my demo to meet this requirement.

    Hope this helps.
    http://jsfiddle.net/D2Z7h/1/
Back to Top
Kendo UI is VS 2017 Ready