Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 08:54:39 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Visual GUI Builder & Library
>
Sigma Visual - Q&A
(Moderators:
steven
,
linb
) >
Button in Treegrid with action?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Button in Treegrid with action? (Read 1165 times)
benji
Jr. Member
Posts: 5
Button in Treegrid with action?
«
on:
December 16, 2009, 03:10:04 AM »
Hello all i start programming with you tool and now i am on my first porblem.
I created a Treegrid and set the type of 1 row to type = button and the buttons will display in the treegrid.
Now i want to give these buttons a function but i dont know how to do a " .onClick" function in my treegrid are there any ideas?
if there are any questions tell me i will answer all as soon as possible
Thank you very much
benji
Logged
linb
Administrator
Hero Member
Posts: 435
Re: Button in Treegrid with action?
«
Reply #1 on:
December 16, 2009, 04:40:39 AM »
There's a onClickCell(profile, cell, e, src) event. You can try it.
Logged
benji
Jr. Member
Posts: 5
Re: Button in Treegrid with action?
«
Reply #2 on:
January 15, 2010, 08:33:11 AM »
yeah i saw the function but i didn“t understand how to use a function on 1 cell not @ all
idea?
thx benji
Logged
linb
Administrator
Hero Member
Posts: 435
Re: Button in Treegrid with action?
«
Reply #3 on:
January 15, 2010, 08:41:41 PM »
1. use onClickCell event
onClickCell:function(profile, cell, e, src) {
if(cell is your cell){
do something
}
}
or
2. your inner 'event' function in your cell dir:
cells:[{...},{caption:'your cell', event:function(){
do somthing
}},{...}]
Logged
benji
Jr. Member
Posts: 5
Re: Button in Treegrid with action?
«
Reply #4 on:
January 18, 2010, 02:04:19 AM »
Quote from: linb on January 15, 2010, 08:41:41 PM
1. use onClickCell event
onClickCell:function(profile, cell, e, src) {
if(cell is your cell){
do something
}
}
or
2. your inner 'event' function in your cell dir:
cells:[{...},{caption:'your cell', event:function(){
do somthing
}},{...}]
thank you
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...