How Do I get a selected record Item from a Dataset in a Datatable? I have: ====================================== function GetSelected () { var v1 =...
24853
silver.grunt
Jan 31, 2008 8:12 pm
here is the picture link of what i would like to do. http://img190.imagevenue.com/aAfkjfp01fo1i-3448/loc182/10084_test_122_182lo.jpg...
24854
Satyam
satyamutsa
Jan 31, 2008 8:30 pm
Let me start with a minor detail because otherwise I will forget. Don't use that trailing comma in the last item on your headers array, it will cause IE to...
24855
Satyam
satyamutsa
Jan 31, 2008 8:42 pm
What you are seeing is a dump of the YAHOO.widget.Record object which is what getRecord returns. If you are looking for any of the fields within it, you...
24856
miketerrizzi
Jan 31, 2008 8:58 pm
Well Im trying to load the data into a table, but then i need to access the data once the data has already loaded into the table. So i need to read the row,...
24857
Satyam
satyamutsa
Jan 31, 2008 9:09 pm
You can do that with any of the methods or events mentioned in: http://developer.yahoo.com/yui/datasource/#events doBeforeCallback is the best since you have...
24858
miketerrizzi
Jan 31, 2008 9:17 pm
okay so im a nut case and decided im gonna change how the data is displayed. Basically I only want to know whats currently being viewed. it makes it easier on...
24859
Satyam
satyamutsa
Jan 31, 2008 9:27 pm
refreshEvent will tell you when the page is visible. It will be fired on any event that redraws the table, such as a sort or a page change besides the first...
24860
Craig Anderson
craig34_99
Jan 31, 2008 9:49 pm
Hmm... not sure that changed anything. After I posted this I did a bit more research and it looks like that on Windows Firefox and Windows IE7 - the scroll...
24861
chad_h_
Jan 31, 2008 10:17 pm
I've tried a few other changes and it still doesn't work :( If I make sure to include the css: <link rel="stylesheet" type="text/css" ...
24862
Bryce Kujala
brycekujala
Jan 31, 2008 11:26 pm
When I call destroy() on a data table, it leaves behind two listeners that are being applied to the document, _onDocumentClick and _onDocumentKeydown. In my...
24863
karla.valencia
Feb 1, 2008 12:22 am
Hi everybody, I have a question. I have a datatable, but it has over 20 columns, so when the datatable is populated a horizontal scroll appears in the bottom...
24864
Jing Ceawlin
jingceawlin
Feb 1, 2008 12:24 am
Thanks. I just think val === undefined could be a little more efficient than typeof val === 'undefined39;....
24865
Todd Kloots
toddkloots
Feb 1, 2008 12:38 am
Frank - Menu is not currently designed to support multiple selection. If you haven't already, you can file a feature request via SourceForge and I can look...
24866
twocupcoffee
Feb 1, 2008 12:58 am
Hi, I saw the thread on the beforeHideEvent for the panel and I able to perform actions before the panel actually closes. However, I cannot find a way stop the...
24867
varnit
Feb 1, 2008 2:06 am
I am looking at the DD resizable panel example http://developer.yahoo.com/yui/examples/dragdrop/dd-resize_clean.html and I can't figure out how to limit the...
24868
Caridy Patiño Mayea
caridyp
Feb 1, 2008 2:08 am
Hello Chad, Check the SAM Skin Seletor in the page body: <body class="yui-skin-sam"> Best Regards, Caridy Patiño (caridy at gmail.com) ...
24869
Jing Ceawlin
jingceawlin
Feb 1, 2008 2:40 am
That's easy. In onDrag function, change these two lines: var newWidth = Math.max(this.startWidth + offsetX, 10); var newHeight = Math.max(this.startHeight +...
24870
Varnit Khanna
varnit
Feb 1, 2008 3:46 am
Thanks Jing, you rock! -varnit ... From: Jing Ceawlin <zjply4000@...> To: ydn-javascript@yahoogroups.com Sent: Thursday, January 31, 2008 9:39:59 PM ...
24871
John Comerford
comerford_john
Feb 1, 2008 4:08 am
Hi Folks, I am trying to delete the selected row when the user clicks a button. I have one main datatable with 250 records, and when the users clicks a button...
24872
twocupcoffee
Feb 1, 2008 4:36 am
Yeah, Caridy is right, One of the parent elements has to be of the class yui-skin-sam in order for the stylesheet to work correctly. Without setting the class,...
24873
twocupcoffee
Feb 1, 2008 4:43 am
Hi John, getSelectedRows() returns an array of record IDs, and the deleteRow function takes a record from the datatable. So you're actually almost there, you...
24874
matt.pettis
Feb 1, 2008 4:49 am
Hi, I was wondering if someone might explain the difference in a javascript construction. In the example shown at ...
24875
John Comerford
comerford_john
Feb 1, 2008 4:56 am
Thanks for then reply Andrew, I have changed my code to the following: var oRecordId = ...
24876
twocupcoffee
Feb 1, 2008 5:10 am
What is the value of oRecordId? Is the ID returning correct? - Andrew Kou ... YAHOO.example.MultipleFeatures.filterPanel.myDataTable.getSelectedRows(); ... ...
24877
manhtuanquan78
Feb 1, 2008 5:36 am
Hi everybody! Please help me a sample code with server paginator use scrollbar ? Description: I have 50 results return, but only want ten of them shown at a...
24878
tntnashtm123
Feb 1, 2008 6:27 am
Hi Am I overlooking something obvious as set() not working for me. var yAxis = new YAHOO.widget.NumericAxis(); yAxis.alwaysShowZero = true; panelId =...
24879
Satyam
satyamutsa
Feb 1, 2008 6:41 am
I think you are still missing an important think that Andrew pointed out, getSelectedRows (plural) returns an array, even if it only contains one element. ... ...
24880
Satyam
satyamutsa
Feb 1, 2008 6:48 am
The purpose of the function wrapper is to make all variables and functions within it private. The variables become local to the wrapper function and are...
24881
twocupcoffee
Feb 1, 2008 8:22 am
haha, thanks for pointing that out. I wanted him to figure it out =) That's why I asked the questions. - Andrew Kou ... out, ... ...