• data view: column header over wrong column

    By Uwe E. Jandt 1 decade ago

    Hi xperts ;-),



    my data view looks much better now, except the column headers:

    they are all moved one to the right (1st column header is empty, 2nd column has the 1st and so on …)



    my xml looks like this:



    <xe:dataView id="dvPolicen"

                                pageName=&quot;/AuftragVonPolice.xsp&quot; rendered=&quot;true&quot;<br/>
                                columnTitles=&quot;true&quot; showCheckbox=&quot;true&quot;&gt;<br/>
                                &lt;xe:this.extraColumns&gt;<br/>
    


                                    &lt;xe:viewExtraColumn<br/>
                                        columnName=&quot;Ablauf_KontakterName&quot; columnTitle=&quot;Kontakter&quot;&gt;<br/>
                                    &lt;/xe:viewExtraColumn&gt;<br/>
                                    &lt;xe:viewExtraColumn<br/>
                                        columnName=&quot;Ablauf_PolicenNr&quot; columnTitle=&quot;PolicenNr&quot;&gt;<br/>
                                    &lt;/xe:viewExtraColumn&gt;<br/>
                                    &lt;xe:viewExtraColumn<br/>
                                        columnName=&quot;Ablauf_Dat&quot; columnTitle=&quot;Ablaufdatum&quot;&gt;<br/>
                                        &lt;xe:this.converter&gt;<br/>
                                            &lt;xp:convertDateTime<br/>
                                                dateStyle=&quot;short&quot;&gt;<br/>
                                            &lt;/xp:convertDateTime&gt;<br/>
                                        &lt;/xe:this.converter&gt;<br/>
                                    &lt;/xe:viewExtraColumn&gt;<br/>
    


                                    &lt;xe:viewExtraColumn<br/>
                                        columnName=&quot;Ablauf_Status&quot; columnTitle=&quot;Status&quot;<br/>
                                        contentType=&quot;text&quot;&gt;<br/>
                                    &lt;/xe:viewExtraColumn&gt;<br/>
                                    &lt;xe:viewExtraColumn<br/>
                                        columnName=&quot;Ablauf_Praemie&quot; columnTitle=&quot;Prämie&quot;&gt;<br/>
                                        &lt;xe:this.converter&gt;<br/>
                                            &lt;xp:convertNumber<br/>
                                                currencySymbol=&quot;CHF&quot; maxFractionDigits=&quot;2&quot;<br/>
                                                minFractionDigits=&quot;2&quot;&gt;<br/>
                                            &lt;/xp:convertNumber&gt;<br/>
                                        &lt;/xe:this.converter&gt;<br/>
                                    &lt;/xe:viewExtraColumn&gt;<br/>
                                    &lt;xe:viewExtraColumn<br/>
                                        columnName=&quot;Ablauf_Br&quot; columnTitle=&quot;Branche&quot;&gt;<br/>
                                    &lt;/xe:viewExtraColumn&gt;<br/>
                                &lt;/xe:this.extraColumns&gt;<br/>
    


                                &lt;xp:this.facets&gt;&lt;/xp:this.facets&gt;<br/>
                                &lt;xe:this.data&gt;<br/>
                                    &lt;xp:dominoView var=&quot;viewByZepNr&quot;<br/>
                                        databaseName=&quot;local\vbp\policen\chhp0667.nsf&quot;<br/>
                                        viewName=&quot;xpByZepasNr&quot;&gt;<br/>
    



    <xp:this.categoryFilter><![CDATA[#{javascript:docCustomer.getItemValueString("Kunde_ZepasNr")}]]></xp:this.categoryFilter>

                                    &lt;/xp:dominoView&gt;<br/>
                                &lt;/xe:this.data&gt;<br/>
                            &lt;/xe:dataView&gt;
    
    • and categoryColumns stay invisible

      By Uwe E. Jandt 1 decade ago

      I define categorycolumns in the data view properties, but they do not show in the web.



      the xml code looks exactly(?) as in the extlib example:


              &lt;xe:this.categoryColumn&gt;<br/>
                  &lt;xe:viewCategoryColumn columnName=&quot;FormName&quot;&gt;&lt;/xe:viewCategoryColumn&gt;<br/>
              &lt;/xe:this.categoryColumn&gt;<br/>
      



      what did I miss? do i have to change sth in the original notesview?



      thanks in advance for any help!



      Uwe

    • Hard to tell

      By Philippe Riand 1 decade ago

      Can you please attach a reproducible sample in an NSF? Trying to guess from the source is not easy

      • how/where can I upload?

        By Uwe E. Jandt 1 decade ago

        sorry - I don't see any upload possibility in this thread.



        Uwe

        • You have a choose file button bellow the text editor

          By Philippe Riand 1 decade ago

          or send it to priand@us.ibm.com if you don't want to share it broadly