raynner Posted May 1, 2017 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"
undefined Posted May 2, 2017 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
undefined Posted May 2, 2017 Posted May 2, 2017 Quote if __checkParams ( "SetItemText", "nnn", itemID, column, new_text ) then Change nnn to nns
raynner Posted May 2, 2017 Author 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 !
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