Is it possible to handle the double click event for a crmGrid row?
-
14 พฤศจิกายน 2551 20:20I have a situation where I want to open my own form to edit a related entity. Because of this when a double click event occurs I want to use alternate logic to handle this event.
Currently I was looking at the html being rendered when a call to areas.aspx is made and believe that the oid for a given row
<tr class="ms-crm-List-Row" oid="{60474D22-84B2-DD11-8540-0013724B50A3}">
is being used. I have yet to track how this GUID is being used and where to attach to intercept the event. Any thoughts or idea's on this?
ตอบทั้งหมด
-
14 พฤศจิกายน 2551 20:32
You might be better off overriding the window open function. Take a look at the following post for more information. -
14 พฤศจิกายน 2551 20:37Adi thank you for the quick response. I am digesting your solution right now. It sounds like you have handled the grid's double click event before. Is that accurate? If so can you share any details?
-
14 พฤศจิกายน 2551 20:45
Indeed i did.
From a supported point of view its better to override the window.open function
which would never change to override or trust the grid functionality which might change in the next version.
-
14 พฤศจิกายน 2551 21:31The mystery surrounding your grid solution is almost unbearable. I marked your initial post as a solution. I appreciate the guidance. I stopped my grid double click solution when I found myself going through the _static/ script files. I will pursue a different approach.
Thank you