lightning-datatable row number errorAction 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

nginx conf: http2 module not working in Chrome in ubuntu 18.04

Department head said that group project may be rejected. How to mitigate?

What does it mean for something to be strictly less than epsilon for an arbitrary epsilon?

Would this be a dangerous impeller to use for a drone?

Find this Unique UVC Palindrome ( ignoring signs and decimal) from Given Fractional Relationship

(For training purposes) Are there any openings with rook pawns that are more effective than others (and if so, what are they)?

VHDL: Why is it hard to desgin a floating point unit in hardware?

Variable does not Exist: CaseTrigger

Gas chromatography flame ionization detector (FID) - why hydrogen gas?

Download app bundles from App Store to run on iOS Emulator on Mac

How do I write real-world stories separate from my country of origin?

Anatomically correct Guivre

csname in newenviroment

Team member is vehemently against code formatting

Keeping the dodos out of the field

Is being an extrovert a necessary condition to be a manager?

How can I reduce the size of matrix?

Is there a solution to paying high fees when opening and closing lightning channels once we hit a fee only market?

Why is a weak base more able to deprotonate a strong acid than a weak acid?

Meaning of "half-crown enclosure"

Is it normal to "extract a paper" from a master thesis?

Can someone get a spouse off a deed that never lived together and was incarcerated?

Unpreventable damage to Gideon, the Oathsworn

amsmath: How can I use the equation numbering and label manually and anywhere?



lightning-datatable row number error


Action 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






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















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
    Mar 23 at 18:00











  • 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
    Mar 23 at 18:10











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

    – sfdcfox
    Mar 23 at 18:19

















3















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
    Mar 23 at 18:00











  • 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
    Mar 23 at 18:10











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

    – sfdcfox
    Mar 23 at 18:19













3












3








3








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 Mar 23 at 18:09







PatMcClellan__c

















asked Mar 23 at 17:12









PatMcClellan__cPatMcClellan__c

1,008523




1,008523












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

    – sfdcfox
    Mar 23 at 18:00











  • 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
    Mar 23 at 18:10











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

    – sfdcfox
    Mar 23 at 18:19

















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

    – sfdcfox
    Mar 23 at 18:00











  • 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
    Mar 23 at 18:10











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

    – sfdcfox
    Mar 23 at 18:19
















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

– sfdcfox
Mar 23 at 18:00





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

– sfdcfox
Mar 23 at 18:00













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
Mar 23 at 18:10





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
Mar 23 at 18:10













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

– sfdcfox
Mar 23 at 18:19





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

– sfdcfox
Mar 23 at 18:19










1 Answer
1






active

oldest

votes


















4














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























  • This is a bug in the component I just discovered too! I do not want to show the row numbers and apparently there is no way to hide them other that custom CSS which I am not sure will work because one of the nuances about LWC is the components exist in the ShadowDom and CSS won't cascade from parent to child.

    – binaryLady
    Apr 30 at 15:21











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









4














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























  • This is a bug in the component I just discovered too! I do not want to show the row numbers and apparently there is no way to hide them other that custom CSS which I am not sure will work because one of the nuances about LWC is the components exist in the ShadowDom and CSS won't cascade from parent to child.

    – binaryLady
    Apr 30 at 15:21















4














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























  • This is a bug in the component I just discovered too! I do not want to show the row numbers and apparently there is no way to hide them other that custom CSS which I am not sure will work because one of the nuances about LWC is the components exist in the ShadowDom and CSS won't cascade from parent to child.

    – binaryLady
    Apr 30 at 15:21













4












4








4







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 Mar 23 at 18:09









PatMcClellan__cPatMcClellan__c

1,008523




1,008523












  • This is a bug in the component I just discovered too! I do not want to show the row numbers and apparently there is no way to hide them other that custom CSS which I am not sure will work because one of the nuances about LWC is the components exist in the ShadowDom and CSS won't cascade from parent to child.

    – binaryLady
    Apr 30 at 15:21

















  • This is a bug in the component I just discovered too! I do not want to show the row numbers and apparently there is no way to hide them other that custom CSS which I am not sure will work because one of the nuances about LWC is the components exist in the ShadowDom and CSS won't cascade from parent to child.

    – binaryLady
    Apr 30 at 15:21
















This is a bug in the component I just discovered too! I do not want to show the row numbers and apparently there is no way to hide them other that custom CSS which I am not sure will work because one of the nuances about LWC is the components exist in the ShadowDom and CSS won't cascade from parent to child.

– binaryLady
Apr 30 at 15:21





This is a bug in the component I just discovered too! I do not want to show the row numbers and apparently there is no way to hide them other that custom CSS which I am not sure will work because one of the nuances about LWC is the components exist in the ShadowDom and CSS won't cascade from parent to child.

– binaryLady
Apr 30 at 15:21

















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

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript