Set Text in Cell on Table

I’ve try using this code.

driver.findElement(By.xpath(’//*[@id=“gridSalaryComponentEmployee”]/div/div[6]/div/div/div[1]/div/table/tbody/tr[2]/td[7]/div/div/div/input’)).sendKeys(‘1000’)

can you try to change this code for more simple and using.
Columns_rowEmployeAddSalaryComponent.get(6)

Maybe??

i don’t know what Columns_rowEmployeAddSalaryComponent.get(6) is doing cannot remember if you posted that
to simplify xpath - go from latest tags adn try to find unique combination of position and attributes
my guess :
//*[@id=“gridSalaryComponentEmployee”]//table/tbody/tr[2]/td[7]/div/div/div/input

Columns_rowEmployeAddSalaryComponent.get(6)
–> column index [i]
This clumn for edit salary

if you print Columns_rowEmployeAddSalaryComponent
this is contains

[[[[[[[CChromeDriver: chrome on XP (5ebd7da96691996885bdb1cab4743a78)] -> xpath: //*[@id=“gridSalaryComponentEmployee”]/div/div[6]/div/div/div[1]/div/table]] -> tag name: tr]] -> tag name: td],

[[[[[[CChromeDriver: chrome on XP (5ebd7da96691996885bdb1cab4743a78)] -> xpath: //*[@id=“gridSalaryComponentEmployee”]/div/div[6]/div/div/div[1]/div/table]] -> tag name: tr]] -> tag name: td],

[[[[[[CChromeDriver: chrome on XP (5ebd7da96691996885bdb1cab4743a78)] -> xpath: //*[@id=“gridSalaryComponentEmployee”]/div/div[6]/div/div/div[1]/div/table]] -> tag name: tr]] -> tag name: td],

[[[[[[CChromeDriver: chrome on XP (5ebd7da96691996885bdb1cab4743a78)] -> xpath: //*[@id=“gridSalaryComponentEmployee”]/div/div[6]/div/div/div[1]/div/table]] -> tag name: tr]] -> tag name: td],

[[[[[[CChromeDriver: chrome on XP (5ebd7da96691996885bdb1cab4743a78)] -> xpath: //*[@id=“gridSalaryComponentEmployee”]/div/div[6]/div/div/div[1]/div/table]] -> tag name: tr]] -> tag name: td],

[[[[[[CChromeDriver: chrome on XP (5ebd7da96691996885bdb1cab4743a78)] -> xpath: //*[@id=“gridSalaryComponentEmployee”]/div/div[6]/div/div/div[1]/div/table]] -> tag name: tr]] -> tag name: td],

[[[[[[CChromeDriver: chrome on XP (5ebd7da96691996885bdb1cab4743a78)] -> xpath: //*[@id=“gridSalaryComponentEmployee”]/div/div[6]/div/div/div[1]/div/table]] -> tag name: tr]] -> tag name: td]]

in that case

Columns_rowEmployeAddSalaryComponent.get(6).findElement(By.xpath(’/div/div/div/input’))