lightning-datatable row number error2019 Community Moderator ElectionLightning datatable dynamic creation issueAction menus drop down not displayed when using Lightning DatatableHow to insert a component into a lightning: datatable component rowLightning Datatable row selection issue in PaginationShow Save and Cancel buttons always on lightning datatableLightning:datatable dynamically disable checkbox per rowCan we specify a minimum height for a lightning:datatable/lightning-datatable?Hide the default row number from 1st columnlightning-datatable - remove header actionsLightning DataTable - AutoSave DraftValues

How much character growth crosses the line into breaking the character

The probability of Bus A arriving before Bus B

What is the evidence for the "tyranny of the majority problem" in a direct democracy context?

Symbol used to indicate indivisibility

New brakes for 90s road bike

Why is it that I can sometimes guess the next note?

Did arcade monitors have same pixel aspect ratio as TV sets?

What should you do when eye contact makes your subordinate uncomfortable?

On a tidally locked planet, would time be quantized?

Open a doc from terminal, but not by its name

How to implement a feedback to keep the DC gain at zero for this conceptual passive filter?

The IT department bottlenecks progress. How should I handle this?

Is it safe to use olive oil to clean the ear wax?

250 Floor Tower

Why did the EU agree to delay the Brexit deadline?

Yosemite Fire Rings - What to Expect?

How can I block email signup overlays or javascript popups in Safari?

What should you do if you miss a job interview (deliberately)?

Is it possible to have a strip of cold climate in the middle of a planet?

Travelling outside the UK without a passport

Basic combinatorial probability problem

Is there any references on the tensor product of presentable (1-)categories?

Find the Primitive Roots Mod 31

How should I respond when I lied about my education and the company finds out through background check?



lightning-datatable row number error



2019 Community Moderator ElectionLightning datatable dynamic creation issueAction menus drop down not displayed when using Lightning DatatableHow to insert a component into a lightning: datatable component rowLightning Datatable row selection issue in PaginationShow Save and Cancel buttons always on lightning datatableLightning:datatable dynamically disable checkbox per rowCan we specify a minimum height for a lightning:datatable/lightning-datatable?Hide the default row number from 1st columnlightning-datatable - remove header actionsLightning DataTable - AutoSave DraftValues










2















I have a lightning web component, using lighting-datatable with row-numbers visible. This works well up to 99 records... then I get this:



[![enter image description here][1]][1]



My component code:



 <lightning-datatable
key-field="id"
data=responses
columns=columns
onsort=handleSort
sorted-by=sortedBy
sorted-direction=sortedDirection
onrowaction=handleRowAction
enable-infinite-loading
onloadmore=handleLoadMore>
</lightning-datatable>


Is the row numbering limited, am I doing something wrong, or is this a bug? Any workarounds?










share|improve this question
























  • Please add the part that's an answer as an answer. You're allowed to answer your own questions here.

    – sfdcfox
    3 hours ago











  • Got it. I was thinking I had to wait before I could answer my own question... but I see the delay is just in accepting it.

    – PatMcClellan__c
    3 hours ago











  • yep. You're absolutely right. You've got my +1.

    – sfdcfox
    2 hours ago















2















I have a lightning web component, using lighting-datatable with row-numbers visible. This works well up to 99 records... then I get this:



[![enter image description here][1]][1]



My component code:



 <lightning-datatable
key-field="id"
data=responses
columns=columns
onsort=handleSort
sorted-by=sortedBy
sorted-direction=sortedDirection
onrowaction=handleRowAction
enable-infinite-loading
onloadmore=handleLoadMore>
</lightning-datatable>


Is the row numbering limited, am I doing something wrong, or is this a bug? Any workarounds?










share|improve this question
























  • Please add the part that's an answer as an answer. You're allowed to answer your own questions here.

    – sfdcfox
    3 hours ago











  • Got it. I was thinking I had to wait before I could answer my own question... but I see the delay is just in accepting it.

    – PatMcClellan__c
    3 hours ago











  • yep. You're absolutely right. You've got my +1.

    – sfdcfox
    2 hours ago













2












2








2








I have a lightning web component, using lighting-datatable with row-numbers visible. This works well up to 99 records... then I get this:



[![enter image description here][1]][1]



My component code:



 <lightning-datatable
key-field="id"
data=responses
columns=columns
onsort=handleSort
sorted-by=sortedBy
sorted-direction=sortedDirection
onrowaction=handleRowAction
enable-infinite-loading
onloadmore=handleLoadMore>
</lightning-datatable>


Is the row numbering limited, am I doing something wrong, or is this a bug? Any workarounds?










share|improve this question
















I have a lightning web component, using lighting-datatable with row-numbers visible. This works well up to 99 records... then I get this:



[![enter image description here][1]][1]



My component code:



 <lightning-datatable
key-field="id"
data=responses
columns=columns
onsort=handleSort
sorted-by=sortedBy
sorted-direction=sortedDirection
onrowaction=handleRowAction
enable-infinite-loading
onloadmore=handleLoadMore>
</lightning-datatable>


Is the row numbering limited, am I doing something wrong, or is this a bug? Any workarounds?







lightning-web-components lightning-datatable






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 3 hours ago







PatMcClellan__c

















asked 4 hours ago









PatMcClellan__cPatMcClellan__c

831221




831221












  • Please add the part that's an answer as an answer. You're allowed to answer your own questions here.

    – sfdcfox
    3 hours ago











  • Got it. I was thinking I had to wait before I could answer my own question... but I see the delay is just in accepting it.

    – PatMcClellan__c
    3 hours ago











  • yep. You're absolutely right. You've got my +1.

    – sfdcfox
    2 hours ago

















  • Please add the part that's an answer as an answer. You're allowed to answer your own questions here.

    – sfdcfox
    3 hours ago











  • Got it. I was thinking I had to wait before I could answer my own question... but I see the delay is just in accepting it.

    – PatMcClellan__c
    3 hours ago











  • yep. You're absolutely right. You've got my +1.

    – sfdcfox
    2 hours ago
















Please add the part that's an answer as an answer. You're allowed to answer your own questions here.

– sfdcfox
3 hours ago





Please add the part that's an answer as an answer. You're allowed to answer your own questions here.

– sfdcfox
3 hours ago













Got it. I was thinking I had to wait before I could answer my own question... but I see the delay is just in accepting it.

– PatMcClellan__c
3 hours ago





Got it. I was thinking I had to wait before I could answer my own question... but I see the delay is just in accepting it.

– PatMcClellan__c
3 hours ago













yep. You're absolutely right. You've got my +1.

– sfdcfox
2 hours ago





yep. You're absolutely right. You've got my +1.

– sfdcfox
2 hours ago










1 Answer
1






active

oldest

votes


















2














Just figured it out myself. I didn't have show-row-number-column in the html. Now it works fine. But, that brings up a different question... what if I didn't want to show row numbers. The docs suggest that I would just leave show-row-number-column out of the markup and then they won't show. But I didn't have it in the markup before and they displayed.



enter image description here



Updated markup:



<lightning-datatable
key-field="id"
data=responses
columns=columns
onsort=handleSort
sorted-by=sortedBy
sorted-direction=sortedDirection
onrowaction=handleRowAction
show-row-number-column
enable-infinite-loading
onloadmore=handleLoadMore>
</lightning-datatable>


BTW, there's a lot more info in the dev guide here that isn't detailed in the reference materials. In particular, how to handle draftValues, which is necessary to get the Cancel/Save buttons to disappear after an inline edit.






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "459"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f255027%2flightning-datatable-row-number-error%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    Just figured it out myself. I didn't have show-row-number-column in the html. Now it works fine. But, that brings up a different question... what if I didn't want to show row numbers. The docs suggest that I would just leave show-row-number-column out of the markup and then they won't show. But I didn't have it in the markup before and they displayed.



    enter image description here



    Updated markup:



    <lightning-datatable
    key-field="id"
    data=responses
    columns=columns
    onsort=handleSort
    sorted-by=sortedBy
    sorted-direction=sortedDirection
    onrowaction=handleRowAction
    show-row-number-column
    enable-infinite-loading
    onloadmore=handleLoadMore>
    </lightning-datatable>


    BTW, there's a lot more info in the dev guide here that isn't detailed in the reference materials. In particular, how to handle draftValues, which is necessary to get the Cancel/Save buttons to disappear after an inline edit.






    share|improve this answer



























      2














      Just figured it out myself. I didn't have show-row-number-column in the html. Now it works fine. But, that brings up a different question... what if I didn't want to show row numbers. The docs suggest that I would just leave show-row-number-column out of the markup and then they won't show. But I didn't have it in the markup before and they displayed.



      enter image description here



      Updated markup:



      <lightning-datatable
      key-field="id"
      data=responses
      columns=columns
      onsort=handleSort
      sorted-by=sortedBy
      sorted-direction=sortedDirection
      onrowaction=handleRowAction
      show-row-number-column
      enable-infinite-loading
      onloadmore=handleLoadMore>
      </lightning-datatable>


      BTW, there's a lot more info in the dev guide here that isn't detailed in the reference materials. In particular, how to handle draftValues, which is necessary to get the Cancel/Save buttons to disappear after an inline edit.






      share|improve this answer

























        2












        2








        2







        Just figured it out myself. I didn't have show-row-number-column in the html. Now it works fine. But, that brings up a different question... what if I didn't want to show row numbers. The docs suggest that I would just leave show-row-number-column out of the markup and then they won't show. But I didn't have it in the markup before and they displayed.



        enter image description here



        Updated markup:



        <lightning-datatable
        key-field="id"
        data=responses
        columns=columns
        onsort=handleSort
        sorted-by=sortedBy
        sorted-direction=sortedDirection
        onrowaction=handleRowAction
        show-row-number-column
        enable-infinite-loading
        onloadmore=handleLoadMore>
        </lightning-datatable>


        BTW, there's a lot more info in the dev guide here that isn't detailed in the reference materials. In particular, how to handle draftValues, which is necessary to get the Cancel/Save buttons to disappear after an inline edit.






        share|improve this answer













        Just figured it out myself. I didn't have show-row-number-column in the html. Now it works fine. But, that brings up a different question... what if I didn't want to show row numbers. The docs suggest that I would just leave show-row-number-column out of the markup and then they won't show. But I didn't have it in the markup before and they displayed.



        enter image description here



        Updated markup:



        <lightning-datatable
        key-field="id"
        data=responses
        columns=columns
        onsort=handleSort
        sorted-by=sortedBy
        sorted-direction=sortedDirection
        onrowaction=handleRowAction
        show-row-number-column
        enable-infinite-loading
        onloadmore=handleLoadMore>
        </lightning-datatable>


        BTW, there's a lot more info in the dev guide here that isn't detailed in the reference materials. In particular, how to handle draftValues, which is necessary to get the Cancel/Save buttons to disappear after an inline edit.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 3 hours ago









        PatMcClellan__cPatMcClellan__c

        831221




        831221



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Salesforce Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f255027%2flightning-datatable-row-number-error%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Bett Inhaltsverzeichnis Geschichte | Bettformen | Bettgrößen | Andere Bezeichnungen | Bettenmangel | Betten in der bildenden Kunst | Schlafmedizinische Gesichtspunkte | Siehe auch | Literatur | Weblinks | Einzelnachweise | NavigationsmenüBett, Bettstatt, BettstelleCommons: BettBabybetten: Anwendung, Ausstattungsmerkmale und VergleichskriterienWasserbetten. Vorurteile im TestHapfnNursch10.1007/s11818-012-0584-74006250-8AKS4329276-8

            Luksemburg Sisukord Nimi | Asend | Loodus | Riigikord | Haldusjaotus | Rahvastik | Riigikaitse | Majandus | Taristu | Ajalugu | Eesti ja Luksemburgi suhted | Haridus | Kultuur | Vaata ka | Viited | Välislingid | Navigeerimismenüü50° N, 6° EÜlevaade Luksemburgi kaitsealadest.Luksemburgi rahvaarv. Statistikaamet.World Bank'i andmebaasÜlevaade Luksemburgi loodusest.Ülevaade Luksemburgi metsadest.Guy Colling. "Red List of the Vascular Plants of Luxembourg." Travaux scientifiques du Musée national d’histoire naturelle Luxembourg. 2005.Luxembourg’s biodiversity at risk.Maailma kahepaiksete andmebaas.Denis Lepage. "Luxembourg." Avibase.Ülevaade temperatuuridest. Luksemburgi meteoroloogiateenistus.Ülevaade Luksemburgist. Euroopa Liidu esinduse koduleht.Système politique. TerritoireÜlevaade Luksemburgi rahvastikust. Luksemburgi statistikaamet.Luksemburgi rahvastik. Luksemburgi statistikaamet.The World FactbookMonique Borsenberger, Paul Dickes. "Religions au Luxembourg. Quelle évolution entre 1999-2008". Luksemburgi statistikaamet. 2011.Luksemburgi peapiiskopkond. Catholic-Hierarchy.Luksemburgi armee koduleht.Luksemburgi armee relvastus.Eesti Välisministeerium.Luksemburgi rahvastik. Luksemburgi statistikaamet.Luksemburgi Eesti Seltsi koduleht.Helen Eelrand. "Raadio, mis muutis maailma." Eesti Päevaleht. 13. märts 2004.Ülevaade Luksemburgi haridussüsteemist.Ülevaade Luksemburgi keskkoolidest.Luksemburgr

            Valle di Casies Indice Geografia fisica | Origini del nome | Storia | Società | Amministrazione | Sport | Note | Bibliografia | Voci correlate | Altri progetti | Collegamenti esterni | Menu di navigazione46°46′N 12°11′E / 46.766667°N 12.183333°E46.766667; 12.183333 (Valle di Casies)46°46′N 12°11′E / 46.766667°N 12.183333°E46.766667; 12.183333 (Valle di Casies)Sito istituzionaleAstat Censimento della popolazione 2011 - Determinazione della consistenza dei tre gruppi linguistici della Provincia Autonoma di Bolzano-Alto Adige - giugno 2012Numeri e fattiValle di CasiesDato IstatTabella dei gradi/giorno dei Comuni italiani raggruppati per Regione e Provincia26 agosto 1993, n. 412Heraldry of the World: GsiesStatistiche I.StatValCasies.comWikimedia CommonsWikimedia CommonsValle di CasiesSito ufficialeValle di CasiesMM14870458910042978-6