Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] Re: The behavior of column header of dataTable is different between Mac and Wind

Expand Messages
  • Patrick Lui
    Yeah, that patch fixed my issue. Thanks you Patrick ________________________________ From: jennykhan To:
    Message 1 of 3 , Sep 10, 2009
    • 0 Attachment
      Yeah, that patch fixed my issue.
      Thanks you

      Patrick



      From: jennykhan <jennyhan@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Tuesday, September 8, 2009 5:06:06 PM
      Subject: [ydn-javascript] Re: The behavior of column header of dataTable is different between Mac and Wind

       

      There is a known issue that has been fixed for the upcoming release:
      http://yuilibrary. com/projects/ yui2/ticket/ 2527707

      Please test with 2.8.0 and feel free to file a bug with a repro case if you are still seeing issues.

      Regards,
      Jenny

      --- In ydn-javascript@ yahoogroups. com, "yanlui88" <yanlui88@.. .> wrote:
      >
      > Hi,
      >
      > I have a dataTable to list Contact Name and Address. However the Up/Down arrow heads did NOT show on column header when I clicked either column headers to sort columns. It happened when the application was running in Mac OSX. If I launched my application in Windows XP box, the Up/Down arrow heads appeared on column header properly.
      > Does anyone know how to fix it?
      > Here is my snippet:
      >
      > <script type="text/javascri pt">
      >
      >
      > YAHOO.util.Event. addListener( window, "load", function() {
      >
      > var myDataSource = new YAHOO.util.XHRDataS ource("/admin/ data.html" );
      >
      > myDataSource. responseType = YAHOO.util.DataSour ce.TYPE_JSON;
      >
      > myDataSource. responseSchema = {
      > resultsList: "ResultSet.Results" ,
      > fields: [
      > "ContactID",
      > "FullName",
      > "Address"
      > ]
      > };
      >
      >
      > var myColumnDefs = [
      > {key:"ContactID" , hidden:true, sortable:true} ,
      > {key:"FullName" , label:"Full Name", sortable:true, sortOptions: {defaultOrder: "asc"}, resizeable:true, minWidth:50} ,
      > {key:"Address" , label:"Address" , sortable:true, resizeable:true, minWidth:160}
      >
      > ];
      >
      > var tblConfig = {
      >
      > };
      >
      > myDataTableId = new YAHOO.widget. DataTable( "dataTableContai ner", myColumnDefs, myDataSource, tblConfig);
      > myDataTableId. set("MSG_ EMPTY", "Loading details ...");
      >
      >
      > });
      > </script>
      >
      >
      > <div id="content" >
      > <div id="ListArea" >
      > <div class="row" align="center" >
      >
      > <table>
      > <tr>
      > <td>
      >
      > <div id="dataTableContai ner"></div>
      >
      > </td>
      > </tr>
      > </table>
      >
      > </div>
      > </div>
      > </div>
      >
      >
      > Thank you
      >
      > Patrick
      >


    Your message has been successfully submitted and would be delivered to recipients shortly.