[jQuery] Jquery Column Manager

2009-07-24 Thread Leandro Tuttini

hi,

I am using column manager plugin, Did somebody use this plugin ?

http://p.sohei.org/jquery-plugins/columnmanager/

I am having a problem when work with nested tables.

I can post a example where I have the problem, if somebody can help
me.


greetings


[jQuery] jQuery MultiSelect - multiple selection combobox

2009-07-03 Thread Leandro Tuttini

hi,

I am using the multiple selection combobox

It can find in the following links:

http://abeautifulsite.net/notebook/62

http://abeautifulsite.net/notebook_files/62/demo/jquery.multiSelect.html


But I am having a problem.

I need to get all items selected (or checked) in the multiple selected
combobox

Do you know, how do I get the items ?

greetings


[jQuery] jqModal - Deactivate a register trigger

2009-05-18 Thread Leandro Tuttini

hi,

It is possible to deactivates trigger registered ?

I am using :

$('#data-info-div').jqm({
trigger: false,
modal: true,
overlay: 50
});

$("#data-info-div").jqmAddTrigger("a.data-info-trigger");



but I cann´t find the opposed function to jqmAddTrigger()

Dimanically I need to assign a trigger to a link, but depending the
logic I need to remove this assignation.
Is possible ?


greetings


[jQuery] Problem jqm and $.get

2009-05-18 Thread Leandro Tuttini

hi,

I am having problem when I use the $.get and jqm.

I developed a easy example about the problem, you can download it
from:
http://cid-5c82aa0c9bbaf5b3.skydrive.live.com/self.aspx/Public/Forum/WebAppjQuery.zip

When the example run, you can see a default.aspx page with two
buttons.
You need to press the LoadGrid button.

When the grid is loaded at the first time you can press the cancel
buttons and you will see a popup windows.
But when you press LoadGrid button again, the grid will be reload but
the popup doesn´t work.

If you press the button "Add Event" the trigger will be reasigned and
the popup works again.

I don´t understand, why the trigger parameter in the jqm doesn´t work
when the grid is reloaded, but the jqmAddTrigger() works without
problems ?


if I use the code in this manner, the popup work the first time:


var reloadnumber = 0;

function getGrid() {

$.get("Grid.aspx",
{
reloadcounter: reloadnumber
},
function(data) {

$("#grid-information").html(data);

registerPopUp();

});

reloadnumber++;

}

function registerPopUp() {

$('#popup-info').jqm({
trigger: 'a.linkcancel',
modal: true,
overlay: 50
});

}

function AddEvent() {

$("#popup-info").jqmAddTrigger("a.linkcancel")
}




but if I use the code :


var reloadnumber = 0;

function getGrid() {

$.get("Grid.aspx",
{
reloadcounter: reloadnumber
},
function(data) {

$("#grid-information").html(data);

registerPopUp();

});

reloadnumber++;

}

function registerPopUp() {

$('#popup-info').jqm({
//trigger: 'a.linkcancel',
modal: true,
overlay: 50
});

$("#popup-info").jqmAddTrigger("a.linkcancel")
}

function AddEvent() {

$("#popup-info").jqmAddTrigger("a.linkcancel")
}



This works always

The difference is like the trigger is registered.
somebody knows, why is it ?

greetings