Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
passing column ID to function called from header menu item
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gianluca Bisceglie  
View profile  
 More options Oct 15 2012, 4:48 am
From: Gianluca Bisceglie <gianluca.bisceg...@googlemail.com>
Date: Mon, 15 Oct 2012 12:48:05 +0400
Local: Mon, Oct 15 2012 4:48 am
Subject: passing column ID to function called from header menu item

How can I pass the id of the column from which I am clicking on a header
menu item?

For example,

header: {
menu: {
 items: [
{
 iconImage: "../lib/slickgrid/images/arrow_right_peppermint.png",
title: "Title",
 command: "functionToCall"

Can I do something like

command: "functionToCall(" + ColID + ")" ?

Thanks,
Gian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Leibman  
View profile  
 More options Oct 15 2012, 5:06 pm
From: Michael Leibman <michael.leib...@gmail.com>
Date: Mon, 15 Oct 2012 14:05:53 -0700
Local: Mon, Oct 15 2012 5:05 pm
Subject: Re: passing column ID to function called from header menu item

The column definition should be in the args of the event handler.
The command is not a JavaScript to execute - it is a string to pass to the
handler.
Please see the examples.

On Mon, Oct 15, 2012 at 1:48 AM, Gianluca Bisceglie <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »