raynner Posted May 1, 2017 Share Posted May 1, 2017 Hello everyone, I'm having a problem with the resource to t3wz of dxgridlist this https://github.com/t3wz/dxGridlists/wiki And good I have a problem it does not have a setItemText and I can not think of a way or way to do it has a date argument over I did not understand very well could anyone help me? I am doing a missions panel and need to change the status of the mission from "In Progress" to "completed" Link to comment
undefined Posted May 2, 2017 Share Posted May 2, 2017 function dxGrid:SetItemText ( itemID, column, new_text ) if __checkParams ( "SetItemText", "nnn", itemID, column, new_text ) then if self.i[column] and self.i[column][itemID] then self.i[column][itemID].text = new_text return self.i[column][itemID].text == new_text end end return false end Link to comment
undefined Posted May 2, 2017 Share Posted May 2, 2017 Quote if __checkParams ( "SetItemText", "nnn", itemID, column, new_text ) then Change nnn to nns Link to comment
raynner Posted May 2, 2017 Author Share Posted May 2, 2017 1 hour ago, ZoRRoM said: function dxGrid:SetItemText ( itemID, column, new_text ) if __checkParams ( "SetItemText", "nnn", itemID, column, new_text ) then if self.i[column] and self.i[column][itemID] then self.i[column][itemID].text = new_text return self.i[column][itemID].text == new_text end end return false end Thank you it worked perfectly I did what you said below "nns" rs . I read and understood the code and tb I created a function for SetItemColor. 56 minutes ago, ZoRRoM said: Change nnn to nns Thank you for your help ! Link to comment
Tommy. Posted June 30, 2018 Share Posted June 30, 2018 (edited) It worked, Edited June 30, 2018 by Tommy. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now