Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
montesj

Member
Registered:
Posts: 41
Reply with quote  #1 
Is there a way on how i can code a client side script when the user selects on the grid. I can only do Server side scripting on the grid.

I have a button that when the user press the button it will resize my iframe on the caption using javascript "document.getElementById('frame_name_here').height=100". the caption will be succesfully resized to the height i provided.

What i need to do is that I need to do this on a grid. Since the caption that i need to resize needs to triggered when the user selects something on the grid.

Is this possible, if so can you please provide me with sample codes or solutions.
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #2 
No, client scripts do not work with read-only grids, only in edit mode.

This is a known issue, and I believe Metastorm are considering addressing it.

__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
montesj

Member
Registered:
Posts: 41
Reply with quote  #3 

Ok. Anyway. do you have any idea how can i work around this. Maybe i can call a button or something when user selects on grid to invoke client side scripting on it.

0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #4 
Google is your friend:
http://metastorm.processmapping.com.au/post/Grid-Row-Selection-and-run-script-2088620

__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
montesj

Member
Registered:
Posts: 41
Reply with quote  #5 

Thanks :) Got an idea on the link you gave me..

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!