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

Re: [ydn-javascript] hide column

Expand Messages
  • bahalul kabir
    oh yes satyam.Thanx. I commented that line .May be that is why it does not work. Its ok now.Thanx. ________________________________ From: Satyam
    Message 1 of 3 , Oct 29, 2009
      oh yes satyam.Thanx. I commented that line .May be that is why it does not work.
      Its ok now.Thanx.


      From: Satyam <satyam@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Thu, October 29, 2009 3:54:46 PM
      Subject: Re: [ydn-javascript] hide column

       

      Don't list it in the column definitions. Keep in the fields definition
      so you can access it in the Record. That is why there is a fields
      definition in the DataSource and a columndefs for the DataTable, one
      controls what gets into the recordset the other what is shown.

      bahalul kabir escribió:

      >
      >
      > Hi satyam Thanx for previous suggestion.I solved that.
      >
      > I have table like for example : ID,subject,delete
      > I do not want to show ID.But I need it in my code.
      > How can I hide ID column.
      > code:
      > {key:"id", label:"ID", sortable:true} ,
      > {key:"subject" , label:"Subject" ,
      > sortable:true, formatter: YAHOO.widget. DataTable. formatSubject} ,
      > {key:"delete" , label:"Delete" , className:"delete- button"}
      >
      >
      > var support_datasourse = new
      > YAHOO.util.DataSour ce("index. php?show= ajax&module= support&category ='.$category.
      '&status= '.$status. '&");
      > support_datasourse. responseType = YAHOO.util.DataSour ce.TYPE_JSON;
      > support_datasourse. responseSchema =
      > {
      > resultsList: "records",
      > fields: [
      > {key:"id", parser:"number" },
      > {key:"subject" }
      >
      > ],
      > metaFields: {
      > totalRecords: "totalRecords" // Access to value in the
      > server response
      > }
      > };
      >
      >
      > U can give me some more useful article,documentati on ,if available.
      > Kabir.
      >
      >
      >
      >
      > ------------ --------- --------- --------- --------- --------- -
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - www.avg.com
      > Version: 8.5.423 / Virus Database: 270.14.37/2466 - Release Date: 10/28/09 19:39:00
      >
      >


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